#5 :Action Selectors(ActionName)in MVC

ActionName :

You can customize ActionName in a Controller via ActionName Attribute class.

public ActionResult Search(MyModel model)
return Content("Hello"+model.Name+model.id);

In the Above Method we can only reach the Search Action from Controller via an Action Name Find and not by Search.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s