public ActionResult ClearAll() { Tamagotchi.ClearAll(); List <Tamagotchi> allTamagotchis = Tamagotchi.GetAll(); return(View("../Home/Index", allTamagotchis)); }
public ActionResult DeleteAll() { Tamagotchi.ClearAll(); List <Tamagotchi> allTamagotchis = Tamagotchi.GetAll(); return(View("Index", allTamagotchis)); }
public ActionResult DeleteAll() { Tamagotchi.ClearAll(); return(View()); }
public void Dispose() { Tamagotchi.ClearAll(); }
public ActionResult Clear() { Tamagotchi.ClearAll(); return(Redirect("/")); }