public QuestionSetRepository(IDocumentClient client, CosmosDbConnection cosmosDbConnection) { this.client = client; this.cosmosDbConnection = cosmosDbConnection; if (this.cosmosDbConnection == null) { throw new ArgumentNullException(nameof(cosmosDbConnection)); } }
public UserSessionRepository(IDocumentClient client, CosmosDbConnection cosmosDbConnection) { this.cosmosDbConnection = cosmosDbConnection; this.client = client; }