public DataCollectionManager(CosmosClient cosmosClient, string databaseId, IActiveCollectionsService activeCollectionsService)
        {
            _client = cosmosClient;

            _databaseId = databaseId;

            _container = _client.GetContainer(_databaseId, "fibre-directory");

            _activeCollectionsService = activeCollectionsService;
        }
        public DataCollectionManager(IActiveCollectionsService activeCollectionsService)
        {
            _activeCollectionsService = activeCollectionsService;

            var clientBuilder = new CosmosClientBuilder(ConfigurationManager.AppSettings["endpoint"],
                                                        ConfigurationManager.AppSettings["authKey"]);

            _client = clientBuilder
                      .WithConnectionModeDirect()
                      .Build();

            _databaseId = ConfigurationManager.AppSettings["database"];

            _container = _client.GetContainer(_databaseId, "fibre-directory");
        }