public static MvcForm BeginForm(this AjaxHelper ajaxHelper, ActionResult result, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes) { var callInfo = result.GetT4MVCResult(); return(ajaxHelper.BeginForm(callInfo.Action, callInfo.Controller, callInfo.RouteValueDictionary, ajaxOptions, htmlAttributes)); }
public static MvcForm BeginForm(this AjaxHelper ajaxHelper, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes) { return(ajaxHelper.BeginForm(taskResult.Result, ajaxOptions, htmlAttributes)); }
public static MvcForm BeginForm(this AjaxHelper ajaxHelper, ActionResult result, AjaxOptions ajaxOptions) { return(ajaxHelper.BeginForm(result, ajaxOptions, null)); }
public static MvcForm BeginForm(this AjaxHelper ajaxHelper, Task <ActionResult> taskResult, AjaxOptions ajaxOptions) { return(ajaxHelper.BeginForm(taskResult.Result, ajaxOptions, null)); }