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