• Deletes a user by id

    Parameters

    • db: any
    • id: any

    Returns Promise<any>