public UserProfileRepository(string connectionString) { _cosmosDbClient = DocumentDbAccount.Parse(connectionString); }
public UserProfileRepository() { _cosmosDbClient = DocumentDbAccount.Parse(Environment.GetEnvironmentVariable("CosmosDB", EnvironmentVariableTarget.Process)); }