public ProfessorsDal(CollegeDbContext collegeDbContext) { _collegeDbContext = collegeDbContext; }
public ProfessorsDal(CollegeDbContext collegeDbContext, ILogger <ProfessorsDal> logger) { _collegeDbContext = collegeDbContext ?? throw new ArgumentNullException(nameof(collegeDbContext)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }