public void DeleteReservaTest() { List <Reserva> reservas = rDAL.ReservaList("Activo"); Reserva reserva = reservas.OrderByDescending(rr => rr.ReservaID).FirstOrDefault(); int r = rDAL.DeleteReserva(reserva.ReservaID); Assert.IsTrue(r > 0); }
public int DeleteReserva(int id) { return(DAL.DeleteReserva(id)); }