asp.net MVC: how to get the previous action name
Posted
by Daoming Yang
on Stack Overflow
See other posts from Stack Overflow
or by Daoming Yang
Published on 2010-05-06T19:32:35Z
Indexed on
2010/05/06
19:38 UTC
Read the original article
Hit count: 227
ASP.NET
|asp.net-mvc
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?
© Stack Overflow or respective owner