asp.net MVC: how to get the previous action name
- by Daoming Yang
I can get the current action name by using the following code
var currentActionName = ControllerContext.RouteData.GetRequiredString("action");
but is it possible to get the previous action name as well?