目标:
我想知道,如何在使用“ @using Html.Beginform ...
编码:
控制器
[HttpPost]
public ActionResult Save(DetailHvmModel model)
{
HvmService.Save(model);
return View();
}
看法:
@using (Html.BeginForm(Actions.Valoration_Save, Controllers.Valoration, FormMethod.Post))
{
//Html
}