Action Methode in ASP.Net MVC



Action Methode in ASP.Net MVC

Action Methode in ASP.Net MVC

Action selector is the attribute that can be applied to the action methods. It helps the routing engine to select the correct action method to handle a particular request. MVC 5 includes the following action selector attributes:
1.ActionName:
The ActionName attribute allows us to specify a different action name than the method name

2.NonAction
Use the NonAction attribute when you want public method in a controller but do not want to treat it as an action method.
Please Follow me on all Social Network,

Instagram Link: https://www.instagram.com/technicalk903/

Facebook Link: https://www.facebook.com/profile.php?id=100086532708783