public TeacherFinderService(IRepository da, IModelAggregator <TeacherEducationalQualification> teacherQualificationAggregator, IModelAggregator <TeacherStudentCategory> teacherChildAggregator, IModelAggregator <TeacherEmploymentHistory> teacherExperienceAggregator) { if (da == null) { throw new ArgumentNullException("da"); } if (teacherChildAggregator == null) { throw new ArgumentNullException("teacherChildAggregator"); } if (teacherExperienceAggregator == null) { throw new ArgumentNullException("teacherExperienceAggregator"); } if (teacherQualificationAggregator == null) { throw new ArgumentNullException("teacherQualificationAggregator"); } _da = da; _teacherChildAggregator = teacherChildAggregator; _teacherExperienceAggregator = teacherExperienceAggregator; _teacherQualificationAggregator = teacherQualificationAggregator; }
public StoryDTO(IModelAggregator modelAggregator) { Mapper = modelAggregator.Mapper; }