public ActionResult Sleep(int id)
        {
            TamagotchiInstance item = TamagotchiInstance.Find(id);

            item.IncreaseRest();
            return(RedirectToAction("Item", new { id = id }));
        }
        public ActionResult Index()
        {
            List <TamagotchiInstance> all = TamagotchiInstance.GetAll();

            return(View(all));
        }
 public ActionResult Time()
 {
     TamagotchiInstance.MakeTimePass();
     return(RedirectToAction("Index"));
 }
 public ActionResult Delete()
 {
     TamagotchiInstance.ClearAll();
     return(RedirectToAction("Index"));
 }
        public ActionResult Item(int id)
        {
            TamagotchiInstance item = TamagotchiInstance.Find(id);

            return(View(item));
        }