In my ASP.NET MVC CMS application I have a bunch of normal content display routes and some administration routes (for CRUD actions). I was thinking of building an admin menu with unordered list and list items HTML elements but I want to do it dynamically at runtime. So the app should enumerate all the routes and construct the menu using just the administration ones. The idea is to tell them apart by their name - for instance, all admin routes would start with a word Admin. I will then create a controller action and partial view for rendering the menu.
Is this the right idea of doing it? It does feel like a hack though, using a special word for admin routes and then filter it by that but I have no other idea for it.