Esempio n. 1
0
 public ScheduleController(IGenericRepository genericRepository,
                           IStudentSectionRepository studentSectionRepository,
                           IAssessmentSectionRepository assessmentSectionRepository,
                           ProfilePhotoUrlFetcher profilePhotoUrlFetcher,
                           IMapper <Session, SessionListItemModel> sessionToSessionListItemModelMapper,
                           IMapper <Section, AutocompleteModel> sectionToAutocompleteModelMapper,
                           IMapper <StudentSectionAssociation, SectionListItemModel> studentSectionAssociationToSectionListItemModelMapper,
                           IMapper <SetModel, StudentSectionAssociation> setModelToStudentSectionAssociationMapper,
                           IStudentSectionAttendanceRepository studentSectionAttendanceRepositoryRepository)
 {
     _genericRepository                   = genericRepository;
     _studentSectionRepository            = studentSectionRepository;
     _assessmentSectionRepository         = assessmentSectionRepository;
     _profilePhotoUrlFetcher              = profilePhotoUrlFetcher;
     _sessionToSessionListItemModelMapper = sessionToSessionListItemModelMapper;
     _sectionToAutocompleteModelMapper    = sectionToAutocompleteModelMapper;
     _studentSectionAssociationToSectionListItemModelMapper = studentSectionAssociationToSectionListItemModelMapper;
     _setModelToStudentSectionAssociationMapper             = setModelToStudentSectionAssociationMapper;
     _studentSectionAttendanceRepositoryRepository          = studentSectionAttendanceRepositoryRepository;
 }
Esempio n. 2
0
 public ScheduleController(IGenericRepository genericRepository,
     IStudentSectionRepository studentSectionRepository,
     IAssessmentSectionRepository assessmentSectionRepository,
     ProfilePhotoUrlFetcher profilePhotoUrlFetcher, 
     IMapper<Session, SessionListItemModel> sessionToSessionListItemModelMapper,
     IMapper<Section, AutocompleteModel> sectionToAutocompleteModelMapper,
     IMapper<StudentSectionAssociation, SectionListItemModel> studentSectionAssociationToSectionListItemModelMapper, 
     IMapper<SetModel, StudentSectionAssociation> setModelToStudentSectionAssociationMapper, 
     IStudentSectionAttendanceRepository studentSectionAttendanceRepositoryRepository)
 {
     _genericRepository = genericRepository;
     _studentSectionRepository = studentSectionRepository;
     _assessmentSectionRepository = assessmentSectionRepository;
     _profilePhotoUrlFetcher = profilePhotoUrlFetcher;
     _sessionToSessionListItemModelMapper = sessionToSessionListItemModelMapper;
     _sectionToAutocompleteModelMapper = sectionToAutocompleteModelMapper;
     _studentSectionAssociationToSectionListItemModelMapper = studentSectionAssociationToSectionListItemModelMapper;
     _setModelToStudentSectionAssociationMapper = setModelToStudentSectionAssociationMapper;
     _studentSectionAttendanceRepositoryRepository = studentSectionAttendanceRepositoryRepository;
 }
 public StudentSectionService(IStudentSectionRepository repository) : base(repository)
 {
 }