如何从以下更新部分视图?
查看:
<td>@Html.ActionLink("remove authorization", "RemoveAuthorization", new { id = Model.ID }, new { Class = "deleteLink" })</td>
控制器:
public ActionResult RemoveAuthorization(int ID)
{
return RedirectToAction("PartialAuthorizeExpenses");
}
public PartialViewResult PartialAuthorizeExpenses()
{
AuthorizeModel model = new AuthorizeModel(null, 0, "All");
return PartialView("Authorize_Details", model);
}