// Implement functions and properties of IBL /// <summary> /// add a room to the collection /// </summary> /// <param name="room">room</param> /// <returns>true if success, false else</returns> public bool AddRoom(Room room) { if (room.RoomID < nextRoomNumber) { return(false); } if (!myDal.AddRoom(room)) { return(false); } nextRoomNumber = room.RoomID + 1; return(true); }