public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes) { return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, htmlAttributes)); }
public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions) { return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, null)); }
public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, object htmlAttributes) { return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, ActionResult result, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes) { return(ajaxHelper.BeginRouteForm(routeName, result.GetRouteValueDictionary(), ajaxOptions, htmlAttributes)); }