protected ActionResult GoNext() { var nextStage = CurrentStage + 1; Hero.SetStatus(nextStage); SaveHeroToCookies(Hero); return(CustomRedirect(StageHelper.GetPage(nextStage), new { IsPartial = true })); }
public ActionResult OnGet(MajorType major, HeroGenStage?stage) { stage ??= GetHeroFromCookies(major).MaxStage; return(CustomRedirect(StageHelper.GetPage(stage.Value))); }