示例#1
0
 public SelectRoomByHotel(AvailableRoomInfo room)
 {
     this.hotelNumber = room.HotelNumber;
     this.rooms       = new List <Room>();
     this.rooms.Add(new Room(room.RoomNumber)
     {
         AvailableRoom = room.AvailableRoomNumber
     });
     this.isSingleRoom = true;
 }
示例#2
0
        public ISelectRoomByFirstSupplier ByFirstSupplier(string supplier)
        {
            AvailableRoomInfo room = HotelResultsPage.FindRoomForFirstSupplier(supplier);

            return(new SelectRoomByHotel(room));
        }