public override System.Web.Mvc.ActionResult EnterCurrent(EWS.Domain.Model.EnterCurrentQuote model) { var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.EnterCurrent); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model); EnterCurrentOverride(callInfo, model); return(callInfo); }
public virtual ActionResult EnterCurrent(EWS.Domain.Model.EnterCurrentQuote 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 EnterCurrentOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, EWS.Domain.Model.EnterCurrentQuote model);