public GetStockLocationsFromVanessa(
     ISecretManagementService secretManagementService,
     IOptions <PersistenceAdapterSettings> adapterOptions,
     ILogger <GetStockLocationsFromVanessa> logger)
 {
     _secretManagementService = secretManagementService;
     _logger  = logger;
     _options = adapterOptions.Value;
     _logger.LogDebug("Query built.");
 }
        private void BuildContainer(IServiceCollection serviceCollection)
        {
            Bootstrapper.Register(serviceCollection);

            var adapterSettings = new PersistenceAdapterSettings(
                accountEndpoint: _settings.CosmosDbAccountEndpoint,
                accountKey: _settings.CosmosDbAccountKey);

            var persistenceAdapter = new PersistenceAdapter(adapterSettings);

            persistenceAdapter.Register(serviceCollection);
        }