public ActionResult Eliminar(int ID) { EF_Practice.Reserva Reserva = DAGeneral.listadoReserva().Where(x => x.CodReserva == ID).FirstOrDefault(); bool exito = DAGeneral.EliminarReserva(Reserva); return(RedirectToAction("Index")); }