Exemplo n.º 1
0
        public IActionResult Work()
        {
            DojoDachi d = HttpContext.Session.GetObjectFromJson <DojoDachi>("Dojodachi");

            d.Work();
            HttpContext.Session.SetObjectAsJson("Dojodachi", d);
            return(Redirect("/"));
        }
Exemplo n.º 2
0
 public IActionResult WorkeMe()
 {
     DojoDachi.Work();
     return(RedirectToAction("DojoDachiAction"));
 }