public ActionResult Delete() { objT = new Tarea(); objT.SetId(Convert.ToInt32(Request["id"])); if (objT.EliminarTarea() != 0) { return(View("successDelete")); } else { return(View("errorDelete")); } }