//
koffee-backend
/
eu.yeger.koffee.utility
/
validateUserDoesNotExist
validateUserDoesNotExist
Validates that the
User
with the given id does not exist in the
UserRepository
.
Return
The
Result
of the operation.
Author
Jan Müller
Parameters
<receiver>
The
UserRepository
.
partialUser
The
PartialUser
containing the
User
's id.
suspend fun
UserRepository
.
validateUserDoesNotExist
(partialUser:
PartialUser
):
Result
<
PartialUser
>
Content copied to clipboard