Ejemplo n.º 1
0
        public virtual ActionResult OPIStep2Save(OLEOPIEducationInformationPage model)
        {
            if (model == null || model.ApplicationId == 0)
            {
                return this.LoadOrCreateAndPrefillNewApplication();
            }

            this.businessLogic.SaveEducationInformationPage(model);

            if (!this.ModelState.IsValid)
            {
                // OLEOPIEducationInformationPage modelTemp = this.businessLogic.GetEducationInformationPageModel(model.ApplicationId);
                // return this.View(MVC.OLE.Views.Views.OPI_Step2, modelTemp);
            }

            return this.RedirectToRoutePermanent("ole_opi_step3", new { controller = "OLE", id = model.ApplicationId });
        }
Ejemplo n.º 2
0
        public virtual ActionResult OPIStep2AjaxSave(OLEOPIEducationInformationPage model)
        {
            OPIStep2Save(model);

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