Пример #1
0
 public UserService(IUserRepository userRepository, IParentRepository parentRepository, ITeacherRepository teacherRepository, IStudentRepository studentRepository)
 {
     _userRepository    = userRepository;
     _parentRepository  = parentRepository;
     _teacherRepository = teacherRepository;
     _studentRepository = studentRepository;
 }
Пример #2
0
 public AccountController(ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IParentRepository parentRepository, IUserRepository userRepository)
 {
     _sessionManagementRepository = sessionManagementRepository;
     _securityRepository = securityRepository;
     _parentRepository = parentRepository;
     _userRepository = userRepository;
 }
Пример #3
0
 // ToDO IUnitRepository
 public PatientService(IPatientRepository patientRepository, IAsyncRepository <PatientParent> patientParentRepository, IMapper mapper, IParentRepository parentRepository)
 {
     _patientRepository       = patientRepository;
     _patientParentRepository = patientParentRepository;
     _mapper           = mapper;
     _parentRepository = parentRepository;
 }
Пример #4
0
 public ParentBusiness(IMapper mapper, IParentRepository parentRepository, IAddressRepository addressRepository, IAddressBusiness addressBusiness)
 {
     _mapper           = mapper;
     _parentRepository = parentRepository;
     _addressBusiness  = addressBusiness;
     _objectType       = typeof(Parent);
 }
Пример #5
0
 public AccountController(ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IParentRepository parentRepository, IUserRepository userRepository)
 {
     _sessionManagementRepository = sessionManagementRepository;
     _securityRepository          = securityRepository;
     _parentRepository            = parentRepository;
     _userRepository = userRepository;
 }
Пример #6
0
 public DataManager(ICoachRepository coaches, IGroupRepository groups, IParentRepository parents, IStudentRepository students)
 {
     Coaches  = coaches;
     Groups   = groups;
     Parents  = parents;
     Students = students;
 }
 public CommunicationsService(ICommunicationsRepository communicationsRepository,
                              IStudentRepository studentRepository,
                              IParentRepository parentRepository,
                              ITeacherRepository teacherRepository,
                              IImageProvider imageProvider,
                              IPushNotificationProvider pushNotificationProvider,
                              IMessagingProvider messagingProvider,
                              ISMSProvider smsProvider,
                              ITranslationProvider translationProvider,
                              ICustomParametersProvider customParametersProvider,
                              IDateProvider dateProvider,
                              ICollection <IMessageProvider> messageProviders,
                              IStaffRepository staffRepository)
 {
     _communicationsRepository = communicationsRepository;
     _studentRepository        = studentRepository;
     _parentRepository         = parentRepository;
     _teacherRepository        = teacherRepository;
     _imageProvider            = imageProvider;
     _pushNotificationProvider = pushNotificationProvider;
     _messagingProvider        = messagingProvider;
     _smsProvider              = smsProvider;
     _translationProvider      = translationProvider;
     _customParametersProvider = customParametersProvider;
     _dateProvider             = dateProvider;
     _messageProviders         = messageProviders;
     _staffRepository          = staffRepository;
 }
Пример #8
0
        public StudentController(IGenericRepository repository, 
            IMapper<Student, ProfileModel> studentToProfileModelMapper,
            IMapper<Student, IndexModel> studentToStudentIndexModelMapper,
            IMapper<NameModel, Student> studentNameToStudentMapper, 
            IMapper<HomeAddressModel, StudentAddress> studentHomeAddressToStudentMapper,
            AzureStorageUploader fileUploader, IStudentRepository studentRepository,
            IMapper<EditableStudentBiographicalInfoModel, Student> studentBiographicalInfoToStudentMapper, 
            IParentRepository parentRepository, 
            IMapper<EditProfileParentModel, Parent> editProfileParentModelToParentMapper,
            ProgramStatusModelToProgramStatusForEditMapper programStatusModelToProgramStatusForEditMapper, 
			EditAcademicDetailModelToStudentAcademicDetailMapper editAcademicDetailModelToStudentAcademicDetailMapper)
        {
            _repository = repository;
            _studentToProfileModelMapper = studentToProfileModelMapper;
            _studentToStudentIndexModelMapper = studentToStudentIndexModelMapper;
            _fileUploader = fileUploader;
            _studentRepository = studentRepository;
            _studentBiographicalInfoToStudentMapper = studentBiographicalInfoToStudentMapper;
            _studentNameToStudentMapper = studentNameToStudentMapper;
            _studentHomeAddressToStudentMapper = studentHomeAddressToStudentMapper;
            _parentRepository = parentRepository;
            _editProfileParentModelToParentMapper = editProfileParentModelToParentMapper;
            _programStatusModelToProgramStatusForEditMapper = programStatusModelToProgramStatusForEditMapper;
            _editAcademicDetailModelToStudentAcademicDetailMapper = editAcademicDetailModelToStudentAcademicDetailMapper;
        }
Пример #9
0
        public FrmMainTeacher(
            IGradeService gradeService,
            IComboBoxHelperService comboBoxHelperService,
            IUserService userService,
            IUserRepository userRepository,
            IParentRepository parentRepository,
            ITeacherRepository teacherRepository,
            IStudentRepository studentRepository,
            IMessageRepository messageRepository,
            IClassRepository classRepository,
            IGradesTabService gradesTabService,
            ITeacherService teacherService,
            IMessagesTabService messagesTabService)
        {
            _comboBoxHelperService = comboBoxHelperService;
            _userService           = userService;
            _userRepository        = userRepository;
            _parentRepository      = parentRepository;
            _teacherRepository     = teacherRepository;
            _studentRepository     = studentRepository;
            _messageRepository     = messageRepository;
            _classRepository       = classRepository;
            _gradesTabService      = gradesTabService;
            _teacherService        = teacherService;
            _messagesTabService    = messagesTabService;

            InitializeComponent();

            Initialize();
        }
Пример #10
0
 public StudentController(IGenericRepository repository,
                          IMapper <Student, ProfileModel> studentToProfileModelMapper,
                          IMapper <Student, IndexModel> studentToStudentIndexModelMapper,
                          IMapper <NameModel, Student> studentNameToStudentMapper,
                          IMapper <HomeAddressModel, StudentAddress> studentHomeAddressToStudentMapper,
                          AzureStorageUploader fileUploader, IStudentRepository studentRepository,
                          IMapper <EditableStudentBiographicalInfoModel, Student> studentBiographicalInfoToStudentMapper,
                          IParentRepository parentRepository,
                          IMapper <EditProfileParentModel, Parent> editProfileParentModelToParentMapper,
                          ProgramStatusModelToProgramStatusForEditMapper programStatusModelToProgramStatusForEditMapper,
                          EditAcademicDetailModelToStudentAcademicDetailMapper editAcademicDetailModelToStudentAcademicDetailMapper)
 {
     _repository = repository;
     _studentToProfileModelMapper      = studentToProfileModelMapper;
     _studentToStudentIndexModelMapper = studentToStudentIndexModelMapper;
     _fileUploader      = fileUploader;
     _studentRepository = studentRepository;
     _studentBiographicalInfoToStudentMapper = studentBiographicalInfoToStudentMapper;
     _studentNameToStudentMapper             = studentNameToStudentMapper;
     _studentHomeAddressToStudentMapper      = studentHomeAddressToStudentMapper;
     _parentRepository = parentRepository;
     _editProfileParentModelToParentMapper                 = editProfileParentModelToParentMapper;
     _programStatusModelToProgramStatusForEditMapper       = programStatusModelToProgramStatusForEditMapper;
     _editAcademicDetailModelToStudentAcademicDetailMapper = editAcademicDetailModelToStudentAcademicDetailMapper;
 }
Пример #11
0
 public StudentController(IStudentRepository studentRepository, IParentRepository parentRepository,
                          IContactInformationRepository contactInformationRepository)
 {
     _studentRepository            = studentRepository;
     _parentRepository             = parentRepository;
     _contactInformationRepository = contactInformationRepository;
     _viewMessageLogic             = new ViewMessageLogic(this);
 }
Пример #12
0
 public StudentController(IStudentRepository studentRepository, IParentRepository parentRepository,
     IContactInformationRepository contactInformationRepository)
 {
     _studentRepository = studentRepository;
     _parentRepository = parentRepository;
     _contactInformationRepository = contactInformationRepository;
     _viewMessageLogic = new ViewMessageLogic(this);
 }
Пример #13
0
 public UserAuthenticationService(IUserRepository userRepository, IClaimRepository claimRepository,
                                  IStudentRepository stRepo, ITeacherRepository trRepo, IParentRepository prRepo)
 {
     this.userRepo    = userRepository;
     this.claimRepo   = claimRepository;
     this.teacherRepo = trRepo;
     this.studentRepo = stRepo;
     this.parentRepo  = prRepo;
 }
Пример #14
0
 public ParentController(IParentRepository parentRepository,
                         IContactInformationRepository contactInformationRepository,
                         IUserRepository userRepository)
 {
     _parentRepository             = parentRepository;
     _contactInformationRepository = contactInformationRepository;
     _userRepository   = userRepository;
     _viewMessageLogic = new ViewMessageLogic(this);
 }
Пример #15
0
 public ImportDataRepository(IPasswordGenerationService passwordGenerationService, IParentRepository parentRepository, IStudentRepository studentRepository, IEnrollRepository enrollRepository, IAcademicYearRepository academicYearRepository, IUserRepository userRepository)
 {
     _passwordGenerationService = passwordGenerationService;
     _parentRepository = parentRepository;
     _studentRepository = studentRepository;
     _enrollRepository = enrollRepository;
     _academicYearRepository = academicYearRepository;
     _userRepository = userRepository;
 }
Пример #16
0
 public ImportDataRepository(IPasswordGenerationService passwordGenerationService, IParentRepository parentRepository, IStudentRepository studentRepository, IEnrollRepository enrollRepository, IAcademicYearRepository academicYearRepository, IUserRepository userRepository)
 {
     _passwordGenerationService = passwordGenerationService;
     _parentRepository          = parentRepository;
     _studentRepository         = studentRepository;
     _enrollRepository          = enrollRepository;
     _academicYearRepository    = academicYearRepository;
     _userRepository            = userRepository;
 }
Пример #17
0
 public ParentController(IParentRepository parentRepository,
     IContactInformationRepository contactInformationRepository,
     IUserRepository userRepository)
 {
     _parentRepository = parentRepository;
     _contactInformationRepository = contactInformationRepository;
     _userRepository = userRepository;
     _viewMessageLogic = new ViewMessageLogic(this);
 }
 public ParentController(IParentRepository parentRepository,
                         IOptionsSnapshot <PhotoSettings> options,
                         IWebHostEnvironment host,
                         IConfiguration configuration)
 {
     _parentRepository  = parentRepository;
     this._photoSetting = options.Value; //
     _host          = host;
     _configuration = configuration;
 }
Пример #19
0
 public FrmMainParent(
     IGradeService gradeService,
     IComboBoxHelperService comboBoxHelperService,
     IUserService userService,
     IUserRepository userRepository,
     IParentRepository parentRepository,
     ITeacherRepository teacherRepository,
     IStudentRepository studentRepository,
     IClassRepository classRepository)
 {
     InitializeComponent();
 }
Пример #20
0
 public NotificationController(INotificationRepository notificationRepository, IAcademicYearRepository academicYearRepository,
     IParentRepository parentRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository,
     IStudentRepository studentRepository, IEnrollRepository enrollsRepository)
 {
     _notificationRepository = notificationRepository;
     _academicYearRepository = academicYearRepository;
     _parentRepository = parentRepository;
     _sessionManagementRepository = sessionManagementRepository;
     _securityRepository = securityRepository;
     StudentRepository = studentRepository;
     EnrollsRepository = enrollsRepository;
     SecurityRepository = securityRepository;
 }
Пример #21
0
 public NotificationController(INotificationRepository notificationRepository, IAcademicYearRepository academicYearRepository,
                               IParentRepository parentRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository,
                               IStudentRepository studentRepository, IEnrollRepository enrollsRepository)
 {
     _notificationRepository      = notificationRepository;
     _academicYearRepository      = academicYearRepository;
     _parentRepository            = parentRepository;
     _sessionManagementRepository = sessionManagementRepository;
     _securityRepository          = securityRepository;
     StudentRepository            = studentRepository;
     EnrollsRepository            = enrollsRepository;
     SecurityRepository           = securityRepository;
 }
Пример #22
0
 public ParentsService(IParentRepository parentRepository, IStudentAttendanceService studentAttendanceService, IStudentBehaviorService studentBehaviorService, IStudentCourseGradesService studentCourseGradesService, IImageProvider imageProvider, IStudentAssignmentService studentAssignmentService, ICustomParametersProvider customParametersProvider, ICommunicationsService communicationsService, IMessagingProvider messagingProvider, ISpotlightIntegrationsService spotlightIntegrationsService, IAlertService alertService, IStudentsService studentsService)
 {
     _parentRepository           = parentRepository;
     _studentAttendanceService   = studentAttendanceService;
     _studentBehaviorService     = studentBehaviorService;
     _studentCourseGradesService = studentCourseGradesService;
     _imageProvider                = imageProvider;
     _studentAssignmentService     = studentAssignmentService;
     _customParametersProvider     = customParametersProvider;
     _communicationsService        = communicationsService;
     _messagingProvider            = messagingProvider;
     _spotlightIntegrationsService = spotlightIntegrationsService;
     _alertService    = alertService;
     _studentsService = studentsService;
 }
Пример #23
0
 public HomeworkController(IHomeworkRepository homeworkRepository,
                           IAcademicYearDetailsRepository academicYearDetailRepository, IAcademicYearRepository academicYearRepository,
                           IGradeRepository gradeRepository, ICourseRepository courseRepository, IStudentRepository studentRepository,
                           IEnrollRepository enrollsRepository, ISessionManagementRepository sessionManagementRepository,
                           ISecurityRepository securityRepository, IParentRepository parentRepository)
 {
     _homeworkRepository           = homeworkRepository;
     _academicYearRepository       = academicYearRepository;
     _gradeRepository              = gradeRepository;
     _courseRepository             = courseRepository;
     _academicYearDetailRepository = academicYearDetailRepository;
     StudentRepository             = studentRepository;
     EnrollsRepository             = enrollsRepository;
     _sessionManagementRepository  = sessionManagementRepository;
     SecurityRepository            = securityRepository;
     _parentRepository             = parentRepository;
 }
Пример #24
0
 public HomeworkController(IHomeworkRepository homeworkRepository,
     IAcademicYearDetailsRepository academicYearDetailRepository, IAcademicYearRepository academicYearRepository,
     IGradeRepository gradeRepository, ICourseRepository courseRepository, IStudentRepository studentRepository,
     IEnrollRepository enrollsRepository, ISessionManagementRepository sessionManagementRepository, 
     ISecurityRepository securityRepository, IParentRepository parentRepository)
 {
     _homeworkRepository = homeworkRepository;
     _academicYearRepository = academicYearRepository;
     _gradeRepository = gradeRepository;
     _courseRepository = courseRepository;
     _academicYearDetailRepository = academicYearDetailRepository;
     StudentRepository = studentRepository;
     EnrollsRepository = enrollsRepository;
     _sessionManagementRepository = sessionManagementRepository;
     SecurityRepository = securityRepository;
     _parentRepository = parentRepository;
 }
Пример #25
0
 public NotificationController(ISessionManagementRepository sessionManagement, IUserRepository userRepository, INotificationRepository notificationRepository, INotificationTypeRepository notificationTypeRepository, IPeopleRepository peopleRepository, ITeacherRepository teacherRepository,
     IAcademicYearDetailsRepository academicYearDetailRepository, IStudentRepository studentRepository, IParentRepository parentRepository, IGradeRepository gradeRepository, IAcademicYearRepository academicYearRepository, IEnrollRepository enrollRepository, IEducationLevelRepository areaReporsitory)
 {
     _sessionManagement = sessionManagement;
     _userRepository = userRepository;
     _notificationRepository = notificationRepository;
     _notificationTypeRepository = notificationTypeRepository;
     _peopleRepository = peopleRepository;
     _teacherRepository = teacherRepository;
     _academicYearDetailRepository = academicYearDetailRepository;
     _parentRepository = parentRepository;
     _studentRepository = studentRepository;
     _gradeRepository = gradeRepository;
     _academicYear = academicYearRepository;
     _enrollRepository = enrollRepository;
     _areaReporsitory = areaReporsitory;
     _viewMessageLogic = new ViewMessageLogic(this);
 }
Пример #26
0
 public NotificationController(ISessionManagementRepository sessionManagement, IUserRepository userRepository, INotificationRepository notificationRepository, INotificationTypeRepository notificationTypeRepository, IPeopleRepository peopleRepository, ITeacherRepository teacherRepository,
                               IAcademicYearDetailsRepository academicYearDetailRepository, IStudentRepository studentRepository, IParentRepository parentRepository, IGradeRepository gradeRepository, IAcademicYearRepository academicYearRepository, IEnrollRepository enrollRepository, IEducationLevelRepository areaReporsitory)
 {
     _sessionManagement            = sessionManagement;
     _userRepository               = userRepository;
     _notificationRepository       = notificationRepository;
     _notificationTypeRepository   = notificationTypeRepository;
     _peopleRepository             = peopleRepository;
     _teacherRepository            = teacherRepository;
     _academicYearDetailRepository = academicYearDetailRepository;
     _parentRepository             = parentRepository;
     _studentRepository            = studentRepository;
     _gradeRepository              = gradeRepository;
     _academicYear     = academicYearRepository;
     _enrollRepository = enrollRepository;
     _areaReporsitory  = areaReporsitory;
     _viewMessageLogic = new ViewMessageLogic(this);
 }
Пример #27
0
        public FrmMainStudent(
            IGradeService gradeService,
            IComboBoxHelperService comboBoxHelperService,
            IUserService userService,
            IUserRepository userRepository,
            IParentRepository parentRepository,
            ITeacherRepository teacherRepository,
            IStudentRepository studentRepository,
            IClassRepository classRepository)
        {
            _gradeService          = gradeService;
            _comboBoxHelperService = comboBoxHelperService;
            _userService           = userService;
            _userRepository        = userRepository;
            _parentRepository      = parentRepository;
            _teacherRepository     = teacherRepository;
            _studentRepository     = studentRepository;
            _classRepository       = classRepository;

            InitializeComponent();

            Initialize();
        }
Пример #28
0
 public ParentService(IParentRepository repository) : base(repository)
 {
 }
Пример #29
0
 public ParentChildTests(ITestOutputHelper output) : base(output)
 {
     _parentRepository = new ParentRepository(_configuration);
     _childRepository  = new ChildRepository(_configuration);
 }
Пример #30
0
 public ParentImageAccessValidator(IParentRepository parentRepository)
 {
     _parentRepository = parentRepository;
 }
Пример #31
0
 public AccountController(ISessionManagementRepository sessionManagement, IParentRepository parentRepository)
 {
     _sessionManagement = sessionManagement;
     _parentRepository  = parentRepository;
 }
Пример #32
0
 public ParentStudentAccessValidator(IParentRepository parentRepository)
 {
     _parentRepository = parentRepository;
 }
Пример #33
0
 public ParentsController(IParentRepository parentRepository, IMapper imapper)
 {
     _parentRepository = parentRepository;
     _mapper           = imapper;
 }
Пример #34
0
 public ParentController(IParentRepository repo, ITypeCheckerHelper typeChecker)
 {
     this.parentRepo        = repo;
     this.typeCheckerHelper = typeChecker;
 }
Пример #35
0
 public ParentService(IParentRepository parentRepository)
 {
     _repository = parentRepository;
 }
Пример #36
0
 public AccountController(ISessionManagementRepository sessionManagement, IParentRepository parentRepository)
 {
     _sessionManagement = sessionManagement;
     _parentRepository = parentRepository;
 }
Пример #37
0
 public EFSampleUnitOfWork(ISampleDbContext dbContext) : base(dbContext)
 {
     Parents = new EFParentRepository(dbContext.Parent);
 }
Пример #38
0
 public NHSampleUnitOfWork(ISession session) : base(session)
 {
     Parents = new NHParentRepository(session);
 }
Пример #39
0
 public ConventionsController(IConventionRepository conventionRepository, IParentRepository parentRepository, IMapper imapper)
 {
     _conventionRepository = conventionRepository;
     _parentRepository     = parentRepository;
     _mapper = imapper;
 }