Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 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));
 }
Exemplo n.º 3
0
 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));
 }