Beispiel #1
0
 public SchoolYearsController(
     GetSchoolYearsQuery getSchoolYears,
     GetCurrentSchoolYearQuery getCurrentSchoolYear,
     ISetCurrentSchoolYearCommand setCurrentSchoolYear)
 {
     _getSchoolYears       = getSchoolYears;
     _getCurrentSchoolYear = getCurrentSchoolYear;
     _setCurrentSchoolYear = setCurrentSchoolYear;
 }
 public RegisterOdsInstanceCommand(IOdsInstanceFirstTimeSetupService odsInstanceFirstTimeSetupService
                                   , AdminAppIdentityDbContext identity
                                   , ISetCurrentSchoolYearCommand setCurrentSchoolYear
                                   , IInferInstanceService inferInstanceService)
 {
     _odsInstanceFirstTimeSetupService = odsInstanceFirstTimeSetupService;
     _identity             = identity;
     _setCurrentSchoolYear = setCurrentSchoolYear;
     _inferInstanceService = inferInstanceService;
 }