public RavenDBClient(ILogger <RavenDBClient> logger) { _logger = logger; _config = config; }
public RavenDBClient(ILogger <RavenDBClient> logger, ApexConfigs config) { _logger = logger; store = new Lazy <IDocumentStore>(CreateStore(config.RavenDBConfig.Url, config.RavenDBConfig.DatabaseName)); }