public IActionResult Reset()
        {
            Dojodachi dojo = new Dojodachi();

            DojodachiHelper.Save(HttpContext, dojo);
            return(RedirectToAction("Index"));
        }
        public IActionResult Sleep()
        {
            Dojodachi dojo = DojodachiHelper.Get(HttpContext);

            dojo.Sleep();
            DojodachiHelper.Save(HttpContext, dojo);
            return(RedirectToAction("Index"));
        }
        public IActionResult Index()
        {
            Dojodachi dojo = DojodachiHelper.Get(HttpContext);

            return(View(dojo));
        }
 public IActionResult Reset()
 {
     DojodachiHelper.NewDojodachi();
     return(RedirectToAction("Index"));
 }
 public IActionResult Sleep()
 {
     DojodachiHelper.Sleep();
     return(RedirectToAction("Index"));
 }
 public IActionResult Work()
 {
     DojodachiHelper.Work();
     return(RedirectToAction("Index"));
 }