public override System.Web.Mvc.JsonResult Edit(ViewModels.Orders.ProductsViewModel product) { var callInfo = new T4MVC_System_Web_Mvc_JsonResult(Area, Name, ActionNames.Edit); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "product", product); EditOverride(callInfo, product); return(callInfo); }
public override System.Web.Mvc.JsonResult GetProduct(ViewModels.Orders.ProductsViewModel product, int pageIndex, int pageSize) { var callInfo = new T4MVC_System_Web_Mvc_JsonResult(Area, Name, ActionNames.GetProduct); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "product", product); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "pageIndex", pageIndex); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "pageSize", pageSize); GetProductOverride(callInfo, product, pageIndex, pageSize); return(callInfo); }
partial void EditOverride(T4MVC_System_Web_Mvc_JsonResult callInfo, ViewModels.Orders.ProductsViewModel product);
partial void GetProductOverride(T4MVC_System_Web_Mvc_JsonResult callInfo, ViewModels.Orders.ProductsViewModel product, int pageIndex, int pageSize);