Beispiel #1
0
 public ActionResult Delete(int id, EditoraViewModel editoraViewModel)
 {
     try
     {
         _editoraService.RemoverEditora(editoraViewModel.EditoraViewModelToEditora());
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }