public IActionResult DeleteConfirmed(int id) { var ingrediente = _service.Get(id); _service.Remove(ingrediente); return(RedirectToAction("Index")); }