예제 #1
0
        public virtual ActionResult OPIStep3Save(OLEOPIFinancialInformationPage model)
        {
            if (model == null || model.ApplicationId == 0)
            {
                return this.LoadOrCreateAndPrefillNewApplication();
            }

            this.businessLogic.SaveOLEOPIFinancialInformationPage(model);

            if (!this.ModelState.IsValid)
            {
                //OLEOPIFinancialInformationPage modelTemp = this.businessLogic.GetFinancialsInformationPageModel(model.ApplicationId);
                //return this.View(MVC.OLE.Views.Views.OPI_Step3, modelTemp);
            }

            return this.RedirectToRoutePermanent("ole_opi_step4", new { controller = "OLE", id = model.ApplicationId });
        }
예제 #2
0
        public virtual ActionResult OPIStep3AjaxSave(OLEOPIFinancialInformationPage model)
        {
            OPIStep3Save(model);

            return this.JsonPublic(new { result = true });
        }