Пример #1
0
 public bool IsAvailableOn(DateRange range)
 {
     return(!_reservations.Any(range.Overlaps));
 }
Пример #2
0
 public RoomBookingFailed(string id, DateRange dates)
 {
     Id    = id;
     Dates = dates;
 }