예제 #1
0
        protected ActionResult GoNext()
        {
            var nextStage = CurrentStage + 1;

            Hero.SetStatus(nextStage);
            SaveHeroToCookies(Hero);
            return(CustomRedirect(StageHelper.GetPage(nextStage), new { IsPartial = true }));
        }
예제 #2
0
 public ActionResult OnGet(MajorType major, HeroGenStage?stage)
 {
     stage ??= GetHeroFromCookies(major).MaxStage;
     return(CustomRedirect(StageHelper.GetPage(stage.Value)));
 }