namespace Giants.Services.Store { using System.Collections.Generic; using System.Threading.Tasks; public class CosmosDbVersioningStore : IVersioningStore { private readonly CosmosDbClient client; public CosmosDbVersioningStore( CosmosDbClient cosmosDbClient) { this.client = cosmosDbClient; } public Task> GetVersions() { return this.client.GetItems(); } public async Task UpdateVersionInfo(VersionInfo versionInfo) { await this.client.UpsertItem(versionInfo); } } }