Allows multiple submit buttons to the same action but separated by button name.
[HttpPost, ActionName("Index"), OnAction(ButtonName = "Save")]
[ValidateAntiForgeryToken]
public IActionResult MyFunction()
{
...
}