public GroupsService( GroupRepository groupRepository, EventLocationMapper eventLocationMapper, EducatorIdTupleMapper educatorIdMapper, ContingentDivisionCourseMapper contingentDivCourseMapper, TimetableKindRepository timetableKindRepository, TimeTableKindCodeMapper timetableMapper, LocaleInfo locale) { this.groupRepository = groupRepository ?? throw new ArgumentNullException(nameof(groupRepository)); this.eventLocationMapper = eventLocationMapper ?? throw new ArgumentNullException(nameof(eventLocationMapper)); this.educatorIdMapper = educatorIdMapper ?? throw new ArgumentNullException(nameof(educatorIdMapper)); this.contingentDivCourseMapper = contingentDivCourseMapper ?? throw new ArgumentNullException(nameof(contingentDivCourseMapper)); this.timetableKindRepository = timetableKindRepository ?? throw new ArgumentNullException(nameof(timetableKindRepository)); this.timetableMapper = timetableMapper ?? throw new ArgumentNullException(nameof(timetableMapper)); language = locale.Language; }
public EducatorsService( EducatorRepository educatorRepository, EventLocationMapper eventLocationMapper, EducatorIdTupleMapper educatorIdMapper, ContingentNameTupleMapper contingentNameMapper, LocaleInfo locale) { this.educatorRepository = educatorRepository ?? throw new ArgumentNullException(nameof(educatorRepository)); this.eventLocationMapper = eventLocationMapper ?? throw new ArgumentNullException(nameof(eventLocationMapper)); this.educatorIdMapper = educatorIdMapper ?? throw new ArgumentNullException(nameof(educatorIdMapper)); this.contingentNameMapper = contingentNameMapper ?? throw new ArgumentNullException(nameof(contingentNameMapper)); language = locale.Language; }