Esempio n. 1
0
        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;
 }