예제 #1
0
 public ActionResult Edit(int id, GeneroViewModel generoViewModel)
 {
     try
     {
         _generoService.EditarGenero(generoViewModel.GeneroViewModelToGenero());
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }