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