Exemple #1
0
        public ActionResult OnPost(MajorType major, string name)
        {
            Hero      = GetHeroFromCookies(major);
            Hero.Name = name;
            SaveHeroToCookies(Hero);
            var result = CoreLogic.EncodeHero(Hero, major);

            return(CustomRedirect(SitePages.SharedMajorHeroSheet, new { cookie = true }));
        }