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