//
koffee-backend
/
eu.yeger.koffee.utility
/
validateItemDoesNotExist
validateItemDoesNotExist
Validates that the
Item
with the given id does not exist in the
ItemRepository
.
Return
The
Result
of the operation.
Author
Jan Müller
Parameters
<receiver>
The
ItemRepository
.
item
The
Item
containing the id.
suspend fun
ItemRepository
.
validateItemDoesNotExist
(item:
Item
):
Result
<
Item
>
Content copied to clipboard