public ActionResult DeleteTama(int id) { Tamagotchi newTama = Tamagotchi.Find(id); string tamaToBeDeleted = newTama.name; Tamagotchi.Delete(newTama); return(View("Delete", tamaToBeDeleted)); }