How do I find the Route Name that is being used when inside of the ControllerBase using it?
For example, I have a route like this:
routes.MapRoute("Search", "{controller}.mvc/{action}/{criterion}", new { controller = "", action = "", criterion = "" });
...and in my ControllerBase I need the Object.Property that contains "Search" or the name of the Route that the ControllerBase is currently using if not search.
Thank you.
-Jessy Houle