public ActionResult WizardStep2(Step2Model step2Model) { var wizardModel = (WizardModel)Session[step2Model.WizardId]; step2Model.CategoryId = wizardModel.Step2.CategoryId; if (!ModelState.IsValid) { return(View(step2Model)); } wizardModel.Step2 = step2Model; return(RedirectToAction("WizardFinish", new { WizardId = wizardModel.Id })); }
public ActionResult WizardStep2(Step2Model step2Model) { var wizardModel = (WizardModel)Session[step2Model.WizardId]; step2Model.CategoryId = wizardModel.Step2.CategoryId; if (!ModelState.IsValid) { return View(step2Model); } wizardModel.Step2 = step2Model; return RedirectToAction("WizardFinish", new { WizardId = wizardModel.Id }); }