public async Task <List <Room> > getFreeRooms(String roomTypeSelected, DateTime checkIn, DateTime checkOut, CancellationToken cancellationToken) { RoomType roomType = Booking.converToEnum <RoomType>(roomTypeSelected); List <String> bookedroomsIDs = await _reservationRepository.GetAllBookedRooms(checkIn, checkOut, roomType, cancellationToken); List <Room> rooms = await _roomRepository.GetFreeRooms(bookedroomsIDs, roomType, cancellationToken); return(rooms); }