public ActionResult UpdateHealth(int id)
        {
            MyTamagotchi myTamagotchi = MyTamagotchi.Find(id);

            myTamagotchi.GiveHealth();
            myTamagotchi.ReduceStats();
            return(View("Show", myTamagotchi));
        }
        public ActionResult Index()
        {
            List <MyTamagotchi> allTamagotchis = MyTamagotchi.GetAll();

            return(View(allTamagotchis));
        }
        public ActionResult Show(int id)
        {
            MyTamagotchi myTamagotchi = MyTamagotchi.Find(id);

            return(View(myTamagotchi));
        }
 public ActionResult DeleteAll()
 {
     MyTamagotchi.ClearAll();
     return(View());
 }
        public ActionResult Create(string name)
        {
            MyTamagotchi myTamagotchi = new MyTamagotchi(name);

            return(RedirectToAction("Index"));
        }