BeginForm() public static method

public static BeginForm ( this htmlHelper, System.Web.Mvc.ActionResult result ) : System.Web.Mvc.Html.MvcForm
htmlHelper this
result System.Web.Mvc.ActionResult
return System.Web.Mvc.Html.MvcForm
Beispiel #1
0
 public static MvcForm BeginForm <TActionResult>(this HtmlHelper htmlHelper, Task <TActionResult> taskResult) where TActionResult : ActionResult
 {
     return(T4Extensions.BeginForm(htmlHelper, taskResult.Result, FormMethod.Post));
 }