public void Book(ConferenceRoom room, DateTime from, DateTime to)
 {
     room.Reservations.Add(new Reservation()
     {
         From = from, To = to
     });
 }
        public bool IsTimeSlotAvailable(ConferenceRoom room, DateTime from, DateTime to)
        {
            var found = room.Reservations.Find(r => r.From >= from && r.To <= to);

            return(null == found);
        }
 public void Remove(ConferenceRoom room)
 {
     rooms.Remove(room);
 }
 public void Add(ConferenceRoom room)
 {
     rooms.Add(room);
 }