I have a single MVC form with two buttons, the page basically loads a record and the user has a approve or reject button
<button id="btnAcceptAll" class="btn btn-lg btn-success">Accept</button>
<button id="btnRejectAll" class="btn btn-lg btn-danger">Reject</button>
Id like to keep it as a single form because I have a lot of hidden value I use as well.
Basically in the Form Post I wanna be able to distinguish which button was pressed.
My Form Post at the moment..
[ActionName("Index")]
[HttpPost]
public ActionResult IndexPost(QcMatchViewModel model)
{
//Save Record and Redirect
return RedirectToAction("Index");
}