Изнутри пользовательского элемента управления mvc (2) я хочу пройти все значения маршрута.
Итак, если у меня есть контроллеры вроде:
UserController
AccountController
Мне нужен набор значений, которые появятся в URL-адресе, например:
/user/...
/account/...
то есть. значения user, account.
Как я могу получить это?
Я попробовал RouteTables, но не мог понять.