A Razor view has 3 buttons inside a form. All button\'s actions will need form values which are basically values coming input fields.
Every time I click any of butto
Simplest way is to use the html5 FormAction and FormMethod
[HttpPost]
public ActionResult Save(CustomerViewModel model) {...}
[HttpPost]
public ActionResult SaveForLatter(CustomerViewModel model){...}
[HttpPost]
public ActionResult SaveAndPublish(CustomerViewModel model){...}
There are many other ways which we can use, see this article ASP.Net MVC multiple submit button use in different ways