Add database to each route controller at locals.db

  • Parameters

    • __namedParameters: { event: any; resolve: any }

    Returns Promise<any>