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")); }