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