//
koffee-backend
/
eu.yeger.koffee.utility
/
validateUserExists
validateUserExists
Validates that the
User
with the given id exists in the
UserRepository
.
Return
The
Result
of the operation.
Author
Jan Müller
Parameters
<receiver>
The
UserRepository
.
userId
The id of the
User
.
suspend fun
UserRepository
.
validateUserExists
(userId:
String
):
Result
<
User
>
Content copied to clipboard