public ActionResult DeleteLife(int id) { Tamagotchi.ClearLife(id); List <Tamagotchi> allTamagotchis = Tamagotchi.GetAll(); return(View("Delete", allTamagotchis)); }
public ActionResult DeleteLife(int id) { Tamagotchi.ClearLife(id); List <Tamagotchi> allTamagotchis = Tamagotchi.GetAll(); return(View("Delete", allTamagotchis)); }