debuglevel / greeting-microservice

Micronaut microservice template written in Kotlin
The Unlicense
5 stars 2 forks source link

add exists(UUID) #7

Closed debuglevel closed 3 years ago

debuglevel commented 3 years ago
    private fun exists(id: UUID): Boolean {
        logger.debug { "Checking if person $id exists..." }
        val isExisting = postalcodeRepository.existsById(id)
        logger.debug { "Checked if person $id exists: $isExisting" }
        return isExisting
    }