Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 partial void EditOverride(T4MVC_System_Web_Mvc_JsonResult callInfo, ViewModels.Orders.ProductsViewModel product);
Ejemplo n.º 4
0
 partial void GetProductOverride(T4MVC_System_Web_Mvc_JsonResult callInfo, ViewModels.Orders.ProductsViewModel product, int pageIndex, int pageSize);