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; }
public ISelectRoomByFirstSupplier ByFirstSupplier(string supplier) { AvailableRoomInfo room = HotelResultsPage.FindRoomForFirstSupplier(supplier); return(new SelectRoomByHotel(room)); }