return dataSource.getParkingLots() .stream() .filter(parkingLot -> Objects.equals(parkingLot.getId(), id)) .findFirst() .orElse(null);