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