public ActionResult Delete(int id, Pet pet) { try { var proces = new PetService(); proces.BorrarMascota(pet); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Delete(int id, Pet pet) { try { var proces = new PetService(); proces.BorrarMascota(pet); return(RedirectToAction("Index")); } catch { return(View()); } }