public ActionResult Delete(int id) { bool rpta = ingredienteService.Delete(id); if (rpta) { return(RedirectToAction("Index")); } return(View()); }
public ActionResult Delete(int id) { bool rpta = ingredienteService.Delete(id); if (rpta) { return(RedirectToAction("Index")); } return(View()); }