示例#1
0
        public async Task DeleteAsyncTest(int reservationId, bool expectedSuccess)
        {
            var reservation = new Reservation {
                ReservationId = reservationId
            };
            var status = await reservationLogic.DeleteAsync(reservation.ReservationId);

            Assert.Equal(expectedSuccess, status);
        }