public override System.Web.Mvc.ActionResult EnterEquipment(EWS.Domain.Model.EnterEquipmentQuote model) { var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.EnterEquipment); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); EnterEquipmentOverride(callInfo, model); return(callInfo); }
public virtual ActionResult EnterEquipment(EWS.Domain.Model.EnterEquipmentQuote model) { QuoteService srv = new QuoteService(_commandProcessor, _queryProcessor, _currentUserFactory); if (ModelState.IsValid) { string errmsg = srv.SaveQuote(model); if (errmsg == string.Empty) { return(RedirectToActionPermanent(MVC.Quote.Quote(model.QuoteID))); } else { ModelState.AddModelError("", errmsg); } } LoadContractTermData(srv); return(View(model)); }
partial void EnterEquipmentOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EWS.Domain.Model.EnterEquipmentQuote model);