I would like to encode some logic in my views, which depends on the name of the controller action used to invoke the view. Is there any way to find out this name.
Hope someone can help me. Please note that this is the MVC3 that I am using.
asp.net-mvc asp.net-mvc-3
Marcel
source share