Exemplo n.º 1
0
 public SchoolService(ILogger <SchoolService> logger,
                      GRA.Abstract.IDateTimeProvider dateTimeProvider,
                      IUserContextProvider userContextProvider,
                      ISchoolDistrictRepository schoolDistrictRepository,
                      ISchoolRepository schoolRepository,
                      ISchoolTypeRepository schoolTypeRepository,
                      IUserRepository userRepository) : base(logger, dateTimeProvider, userContextProvider)
 {
     _schoolDistrictRepository = Require.IsNotNull(schoolDistrictRepository,
                                                   nameof(schoolDistrictRepository));
     _schoolRepository     = Require.IsNotNull(schoolRepository, nameof(schoolRepository));
     _schoolTypeRepository = Require.IsNotNull(schoolTypeRepository,
                                               nameof(schoolTypeRepository));
     _userRepository = Require.IsNotNull(userRepository, nameof(userRepository));
 }
 public RegistrationsAchieversBySchoolReport(ILogger <RegistrationsAchieversReport> logger,
                                             ServiceFacade.Report serviceFacade,
                                             ISchoolDistrictRepository schoolDistrictRepository,
                                             ISchoolRepository schoolRepository,
                                             ISchoolTypeRepository schoolTypeRepository,
                                             IUserRepository userRepository) : base(logger, serviceFacade)
 {
     _schoolDistrictRepository = schoolDistrictRepository
                                 ?? throw new ArgumentNullException(nameof(schoolDistrictRepository));
     _schoolRepository = schoolRepository
                         ?? throw new ArgumentNullException(nameof(schoolRepository));
     _schoolTypeRepository = schoolTypeRepository
                             ?? throw new ArgumentNullException(nameof(schoolTypeRepository));
     _userRepository = userRepository
                       ?? throw new ArgumentNullException(nameof(userRepository));
 }
Exemplo n.º 3
0
 public SchoolService(ILogger <SchoolService> logger,
                      IUserContextProvider userContextProvider,
                      IEnteredSchoolRepository enteredSchoolRepository,
                      ISchoolDistrictRepository schoolDistrictRepository,
                      ISchoolRepository schoolRepository,
                      ISchoolTypeRepository schoolTypeRepository,
                      IUserRepository userRepository) : base(logger, userContextProvider)
 {
     _enteredSchoolRepository = Require.IsNotNull(enteredSchoolRepository,
                                                  nameof(enteredSchoolRepository));
     _schoolDistrictRepository = Require.IsNotNull(schoolDistrictRepository,
                                                   nameof(schoolDistrictRepository));
     _schoolRepository     = Require.IsNotNull(schoolRepository, nameof(schoolRepository));
     _schoolTypeRepository = Require.IsNotNull(schoolTypeRepository,
                                               nameof(schoolTypeRepository));
     _userRepository = Require.IsNotNull(userRepository, nameof(userRepository));
 }
Exemplo n.º 4
0
 public SchoolTypeService(ISchoolTypeRepository schooltypeRepository)
     : base(schooltypeRepository)
 {
     m_SchoolTypeRepository = schooltypeRepository;
 }
Exemplo n.º 5
0
 public SchoolTypeService(ISchoolTypeRepository schoolTypeRepository)
 {
     _schoolTypeRepository = schoolTypeRepository;
 }