public static MvcForm BeginRouteForm <TActionResult>(this HtmlHelper htmlHelper, string routeName, Task <TActionResult> taskResult, FormMethod method, IDictionary <string, object> htmlAttributes) where TActionResult : ActionResult { return(T4Extensions.BeginRouteForm(htmlHelper, routeName, taskResult.Result, method, htmlAttributes)); }
public static MvcForm BeginRouteForm <TActionResult>(this AjaxHelper ajaxHelper, string routeName, Task <TActionResult> taskResult, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes) where TActionResult : ActionResult { return(T4Extensions.BeginRouteForm(ajaxHelper, routeName, taskResult.Result, ajaxOptions, htmlAttributes)); }
public static MvcForm BeginRouteForm <TActionResult>(this HtmlHelper htmlHelper, string routeName, Task <TActionResult> taskResult) where TActionResult : ActionResult { return(T4Extensions.BeginRouteForm(htmlHelper, routeName, taskResult.Result, FormMethod.Post, (IDictionary <string, object>)null)); }