static public void CheckOut(Room room) { if (room.GetGuest() != null) { room.SetGuest(null); --numberOfGuests; } }
public static bool IsRoomFree(Room room) { if (room.GetGuest() == null) { return(true); } return(false); }
public static bool isRoomFree(Room room) { return(room.GetGuest() == null); }