how to run a @Html.Action on button click asp.net code example
Example: To call any action method from the view on button click
@using (Html.BeginForm("Edit", "Home", new { Id = emp.Id }, FormMethod.Get))
{
}
@using (Html.BeginForm("Delete", "Home", new { Id = emp.Id }, FormMethod.Post))
{
}