public ProfessorsCosmosDal(CollegeCosmosDbContext collegeCosmosDbContext,
                                   ILogger <ProfessorsCosmosDal> logger)
        {
            _collegeCosmosDbContext = collegeCosmosDbContext ?? throw new ArgumentNullException(nameof(collegeCosmosDbContext));

            _logger = logger ?? throw new ArgumentNullException(nameof(logger));
        }
예제 #2
0
        public ProfessorsCosmosDal(CollegeCosmosDbContext collegeCosmosDbContext,
                                   ILogger <ProfessorsCosmosDal> logger)
        {
            _collegeCosmosDbContext = collegeCosmosDbContext;

            _logger = logger;
        }
예제 #3
0
        public ProfessorsCosmosDal(CollegeCosmosDbContext collegeCosmosDbContext,
                                   ILogger <ProfessorsCosmosDal> logger, IRedisCacheDbDal cacheDbDal)
        {
            _collegeCosmosDbContext = collegeCosmosDbContext;

            _logger = logger;

            _cacheDbDal = cacheDbDal;
        }