public ActionResult Eliminar(int id) { var r = rolBL.Eliminar(id); if (!r) { ViewBag.Mensaje = "Ocurrio un error inesperado"; return(View("~/Views/Shared/_Mensajes.cshtml")); } return(RedirectToAction("Index")); }