示例#1
0
        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);
        }
示例#2
0
 public int DeleteReserva(int id)
 {
     return(DAL.DeleteReserva(id));
 }