コード例 #1
0
 public ActionResult Create(Ingrediente model)
 {
     try
     {
         var resultado = repo.CrearIngrediente(model);
         return(RedirectToAction(nameof(Index)));
     }
     catch
     {
         return(View());
     }
 }