示例#1
0
 public override System.Web.Mvc.ActionResult Edit(WebMarket.ViewModel.Admin.Product.ProductDataEntriy product, System.Web.HttpPostedFileBase uploadImage)
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Edit);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "product", product);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "uploadImage", uploadImage);
     EditOverride(callInfo, product, uploadImage);
     return callInfo;
 }
示例#2
0
 partial void EditOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, WebMarket.ViewModel.Admin.Product.ProductDataEntriy product, System.Web.HttpPostedFileBase uploadImage);
示例#3
0
 public override System.Threading.Tasks.Task<System.Web.Mvc.ActionResult> Create(WebMarket.ViewModel.Admin.Product.ProductDataEntriy model, System.Web.HttpPostedFileBase uploadImage)
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "uploadImage", uploadImage);
     CreateOverride(callInfo, model, uploadImage);
     return System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult);
 }