class LocationServiceImpl implements LocationService {

    @Override
    public Location findById(Long id) {
        log.info(LogMessage.IN_FIND_BY_ID, id);

        return locationRepo
            .findById(id)
            .orElseThrow(
                () -> new NotFoundException(ErrorMessage.LOCATION_NOT_FOUND_BY_ID + id));
    }

}