Ads Top

Change the Action name in ASP.Net MVC

ActionName attribute can be used for changing the action name. Below is the sample code snippet to demonstrate more :


1:  [ActionName("TestActionNew")]  
2:  public ActionResult Test()  
3:  {  
4:  return View();  
5:  }  
Powered by Blogger.