Problem with ASP.NET MVC routing
问题 I have a page that I want it to have 2 different routes: "/Admin/Schedules" AND "/Schedules" "/Admin/Schedules" if for admin users and the page will render some admin features and it needs to log in... on the other hand, "/Schedules" is for non-logged users and it will render non-admin features... But, the page is the same and I specifically need these two routes... Does anyone know how to do this? Thanks!!! 回答1: you could accomplish this in the controller as ajma said by just having an if