diff --git a/src/web/Services/CosmosDbService.cs b/src/web/Services/CosmosDbService.cs index 9492ed1..9fd1bce 100644 --- a/src/web/Services/CosmosDbService.cs +++ b/src/web/Services/CosmosDbService.cs @@ -10,19 +10,19 @@ internal interface ICosmosDbService internal sealed class CosmosDbService : ICosmosDbService { - private readonly CosmosClient _client; + private readonly CosmosClient client; public CosmosDbService(CosmosClient client) { - this._client = client; + this.client = client; } - public string GetEndpoint() => $"{this._client.Endpoint}"; + public string GetEndpoint() => $"{client.Endpoint}"; public async Task RunDemoAsync(Func writeOutputAync) { // - Database database = this._client.GetDatabase("cosmicworks"); + Database database = client.GetDatabase("cosmicworks"); // database = await database.ReadAsync(); await writeOutputAync($"Get database:\t{database.Id}"); @@ -120,4 +120,4 @@ public async Task RunDemoAsync(Func writeOutputAync) await writeOutputAync($"Request charge:\t{requestCharge:0.00}"); } } -} \ No newline at end of file +}