public ActionResult Create(Ingrediente model) { try { var resultado = repo.CrearIngrediente(model); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }