//delete public ActionResult Delete(int id) { if (Session["UserEmail"] != null) { ro.EliminarRol(id); return(RedirectToAction("Index")); } else { return(RedirectToAction("Login", "Login")); } }
//delete public ActionResult Delete(int id) { ro.EliminarRol(id); return(RedirectToAction("Index")); }