• Service functionality to update an item

    Parameters

    • name: string
    • item: any

    Returns Promise<ServiceResponse<Item>>

    a Promise with the ServiceResponse containing the searched Item data and the message returned by the repository