Ejemplo n.º 1
0
        public void Init()
        {
            manager     = new ConferenceRoomsManager();
            defaultRoom = manager.GetRooms()[0];
            var from           = new DateTime(2018, 06, 01, 11, 00, 00);
            var to             = new DateTime(2018, 06, 01, 11, 30, 00);
            var newReservation = new Reservation()
            {
                From = from, To = to
            };

            defaultRoom.Reservations.Add(newReservation);
        }
Ejemplo n.º 2
0
 public void Cleanup()
 {
     manager     = null;
     defaultRoom = null;
 }