public ActionResult ContactoDelete(int id) { if (Session["user"] == null) { return(RedirectToAction("Login", "Usuario")); } DALcontacto.Eliminar(id); return(RedirectToAction("ContactoList")); }
public ActionResult ContactoDelete(int id) { if (Session["user"] == null) { return(RedirectToAction("Login", "Usuario")); } DALcontacto.Eliminar(id); return(RedirectToAction("ContactoList")); }