public AttendanceLetterService(IAttendanceLetterCommands commands, IAttendanceLetterQueries queries, IStudentAbsencesForEmailService studentAbsencesForEmailService, ICalendarMembershipDaysQueries calendarQueries, IConfiguration config, IPdfProvider pdfProvider, ISchoolYearsService schoolYearService, IStudentExtraHoursService studentExtraHoursService, IHostingEnvironment env, ISchoolsService schoolsService, IStudentGeneralDataForDnaService studentGeneralDataForDnaService) { _commands = commands; _queries = queries; _config = config; _studentAbsencesForEmailService = studentAbsencesForEmailService; _calendarQueries = calendarQueries; _pdfProvider = pdfProvider; _schoolYearService = schoolYearService; _studentExtraHoursService = studentExtraHoursService; _env = env; _studentGeneralDataForDnaService = studentGeneralDataForDnaService; _schoolsService = schoolsService; Day3Range = _config.GetSection("Notifications:AttendanceLetter:3DayLetterRange").Get <int>(); Day5Range = _config.GetSection("Notifications:AttendanceLetter:5DayLetterRange").Get <int>(); Day10Range = _config.GetSection("Notifications:AttendanceLetter:10DayLetterRange").Get <int>(); }
public StudentExtraHourController(IStudentExtraHoursService studentExtraHoursService, IReasonsService reasonsService) { _studentExtraHoursService = studentExtraHoursService; _reasonsService = reasonsService; }