public ActionResult Delete(int id) { try { livroBLL.Deletar(id); return(RedirectToAction("Index")); } catch { return(View()); } }