public ActionResult Edit(AutorDTO autor) { try { if (ModelState.IsValid) { autorBLL.Editar(autor); return(RedirectToAction("Index")); } return(View(autor)); } catch { return(View(autor)); } }
public ActionResult Edit(AutorDTO autor) { try { if (ModelState.IsValid) { autorBLL.Editar(autor); return(RedirectToAction("Index")); } return(View(autor)); } catch { return(View(autor)); } }