Esempio n. 1
0
 public FacultiesController(
     IServiceResultMapper viewMapper,
     IFacultyService facultyService)
 {
     _viewMapper     = viewMapper;
     _facultyService = facultyService;
 }
Esempio n. 2
0
 public FacultiesController(IFacultyService facultyService, IMapper mapper, IEnrolleeService enrolleeService, IFacultyResponseComposer facultyResponseComposer)
 {
     _facultyService          = facultyService;
     _mapper                  = mapper;
     _enrolleeService         = enrolleeService;
     _facultyResponseComposer = facultyResponseComposer;
 }
Esempio n. 3
0
 public UsersController(IGroupService groupService, IUserService userService, IFacultyService facultyService, IRequestService requestService)
 {
     _groupService   = groupService;
     _userService    = userService;
     _facultyService = facultyService;
     _requestService = requestService;
 }
 public AdministratorService()
 {
     _userService    = new UserService();
     _facultyService = new FacultyService();
     _dbConnection   = DBAccess.GetDbConnection();
     _logger         = new FileLogger();
 }
Esempio n. 5
0
 public FacultyController(IMapper mapper, IFacultyService facultyService, IFacultySubjectService facultySubjectService, IExaminationSubjectService examinationSubjectService)
 {
     _mapper                    = mapper;
     _facultyService            = facultyService;
     _facultySubjectService     = facultySubjectService;
     _examinationSubjectService = examinationSubjectService;
 }
Esempio n. 6
0
 public EducationalDepartmentController(ICathedraService servC, IFacultyService servF, IKnowledgeAreaService servA, ISpecializationService servS, ISpecialityService serv)
 {
     cathedra       = servC;
     area           = servA;
     faculty        = servF;
     specialization = servS;
     speciality     = serv;
 }
 public DepartmentService(QueryExecutor queryExecutor, ModelMapper modelMapper, SqlCommands sqlCommands, IMapper autoMapper, IFacultyService facultyService)
 {
     this._queryExecutor  = queryExecutor;
     this._modelMapper    = modelMapper;
     this._sqlCommands    = sqlCommands;
     this._autoMapper     = autoMapper;
     this._facultyService = facultyService;
 }
Esempio n. 8
0
 public ExamController(IExamService examService,
                       IFacultyService facultyService,
                       IFacultyViewModelMapper facultyViewModelMapper)
 {
     _examService            = examService;
     _facultyService         = facultyService;
     _facultyViewModelMapper = facultyViewModelMapper;
 }
Esempio n. 9
0
 public StudentController(IMapper mapper, IDepartmentService departmentService, IFacultyService facultytService, IScheduleService scheduletService, IAppointmentService appointmentService)
     : base(mapper)
 {
     this._departmentService  = departmentService;
     this._facultytService    = facultytService;
     this._scheduletService   = scheduletService;
     this._appointmentService = appointmentService;
 }
Esempio n. 10
0
 public RoomService()
 {
     _dbConnection           = DBAccess.GetDbConnection();
     _facultyService         = new FacultyService();
     _groupService           = new GroupService();
     _studentCategoryService = new StudentCategoryService();
     _userService            = new UserService();
     _logger = new FileLogger();
 }
Esempio n. 11
0
 public UserOperations(ISpecialtyService specialtyService, IUserService userService, ILectorService lectorService, IMapper mapper, IFacultyService facultyService, ITeamService teamService)
 {
     _specialtyService = specialtyService;
     _userService      = userService;
     _teamService      = teamService;
     _mapper           = mapper;
     _lectorService    = lectorService;
     _facultyService   = facultyService;
 }
 public FacultyController(IFacultyService facultyService, IMarkService markService, IEnrolleeService enrolleeService, ISchoolSubjectsService schoolSubjectsService, IStudentStatusService studentStatusService, IExaminationSubjectService examinationSubjectService)
 {
     _facultyService            = facultyService;
     _enrolleeService           = enrolleeService;
     _schoolSubjectsService     = schoolSubjectsService;
     _studentStatusService      = studentStatusService;
     _examinationSubjectService = examinationSubjectService;
     _markService = markService;
 }
Esempio n. 13
0
 public MessageService(IStudentExchangeDataContext studentExchangeDataContext, IUniversityService universityService, IFacultyService facultyService, ICourseOfStudyService courseOfStudyService, IGroupService groupService, IStudentService studentService)
 {
     _studentExchangeDataContext = studentExchangeDataContext;
     _universityService          = universityService;
     _facultyService             = facultyService;
     _courseOfStudyService       = courseOfStudyService;
     _groupService   = groupService;
     _studentService = studentService;
 }
Esempio n. 14
0
 public StudentController(IStudentService studentService, ICityService cityService, IDepartmentService departmentService, IEducationTypeService educationTypeService, IFacultyService facultyService, IGraduateTypeService graduateTypeService, IUniversityService universityService)
 {
     _studentService       = studentService;
     _cityService          = cityService;
     _departmentService    = departmentService;
     _educationTypeService = educationTypeService;
     _facultyService       = facultyService;
     _graduateTypeService  = graduateTypeService;
     _universityService    = universityService;
 }
Esempio n. 15
0
 public ViewModelService(ICourseService courseService,
                         IEnrollService enrollService,
                         IStudentService studentService,
                         IFacultyService facultyService, IWishlistService wishlistService)
 {
     _facultyService  = facultyService;
     _studentService  = studentService;
     _courseService   = courseService;
     _enrollService   = enrollService;
     _wishlistService = wishlistService;
 }
Esempio n. 16
0
        public HomeController(ILogger <HomeController> log, IQuestionService questService, IAnswerService answerService, IFacultyService facultyService, UserManager <ApplicationUser> userManager)
        {
            this._logger          = log;
            this._questionService = questService;
            this._answerService   = answerService;
            this._facultyService  = facultyService;
            this._userManager     = userManager;
            var config = new MapperConfiguration(cfg => cfg.CreateMap <QuestionDTO, QuestionShortViewModel>());

            this._mapper = new Mapper(config);
        }
 public ViewBagDataProvider(
     IFacultyService facultyService,
     ISpecialityService specialityService,
     IMapper <Faculty, SelectListItem> facultySelectListItemMapper,
     IMapper <Speciality, SelectListItem> specialitySelectListItemMapper)
 {
     _facultyService                 = facultyService;
     _specialityService              = specialityService;
     _facultySelectListItemMapper    = facultySelectListItemMapper;
     _specialitySelectListItemMapper = specialitySelectListItemMapper;
 }
Esempio n. 18
0
        public AdminController(
            ILogger <AdminController> log,
            IUserService service,
            IFacultyService facultyService,
            ITagService tagService)
        {
            this._logger         = log;
            this._userService    = service;
            this._facultyService = facultyService;
            var config  = new MapperConfiguration(cfg => cfg.CreateMap <UserDTO, UserForAdminViewModel>());
            var config2 = new MapperConfiguration(cfg => cfg.CreateMap <FacultyDTO, FacultyViewModel>());

            this._mapper        = new Mapper(config);
            this._tagService    = tagService;
            this._mapperFaculty = new Mapper(config2);
        }
 public CurriculumDepartmentController(ICycleService servCy, ISpecializationService servS, IFormEducationService servFE,
                                       IEducationalDegreeService servED, IPlanEducationalProcessService servPE, IFormDeliveryService servFD, ICurriculumService servCu,
                                       IUnderCycleService servUC, IKnowledgeAreaService servK, IFacultyService servF, ICathedraService servCa)
 {
     cycle                  = servCy;
     specialization         = servS;
     formEducation          = servFE;
     educationalDegree      = servED;
     planEducationalProcess = servPE;
     formDelivery           = servFD;
     curriculum             = servCu;
     underCycle             = servUC;
     knowledgeArea          = servK;
     faculty                = servF;
     cathedra               = servCa;
 }
Esempio n. 20
0
        public QuestionController(
            UserManager <ApplicationUser> userManager,
            IFacultyService facultyService,
            ITagService tagService,
            IQuestionService questionService,
            IUserService userService,
            ILogger <QuestionController> logger,
            IAnswerService answerService)
        {
            this._userManager     = userManager;
            this._facultyService  = facultyService;
            this._tagService      = tagService;
            this._questionService = questionService;
            this._userService     = userService;
            this._answerService   = answerService;
            this._logger          = logger;
            var config = new MapperConfiguration(cfg => cfg.CreateMap <QuestionDTO, CreatedQuestionsViewModel>());

            this._mapper = new Mapper(config);
        }
Esempio n. 21
0
 public BaseAdminModelFactory(IFacultyService facultyService,
                              ICountryService countryService,
                              IUserActivityService userActivityService,
                              IUserService userService,
                              IDateTimeHelper dateTimeHelper,
                              IEmailAccountService emailAccountService,
                              IProfessorService professorService,
                              IProvinceService provinceService,
                              IStaticCacheManager cacheManager,
                              IAcademicRankService academicRankService,
                              IResearchIssueService researchIssueService,
                              IAgencyService agencyService,
                              IResearcherService researcherService,
                              IEducationLevelService educationLevelService,
                              IStrategyGroupService strategyGroupService,
                              IFiscalScheduleService fiscalScheduleService,
                              ITitleService titleService,
                              IInstituteService instituteService)
 {
     this._facultyService        = facultyService;
     this._countryService        = countryService;
     this._userActivityService   = userActivityService;
     this._userService           = userService;
     this._dateTimeHelper        = dateTimeHelper;
     this._emailAccountService   = emailAccountService;
     this._professorService      = professorService;
     this._provinceService       = provinceService;
     this._cacheManager          = cacheManager;
     this._academicRankService   = academicRankService;
     this._researchIssueService  = researchIssueService;
     this._agencyService         = agencyService;
     this._researcherService     = researcherService;
     this._educationLevelService = educationLevelService;
     this._strategyGroupService  = strategyGroupService;
     this._fiscalScheduleService = fiscalScheduleService;
     this._titleService          = titleService;
     this._instituteService      = instituteService;
 }
Esempio n. 22
0
 public DormitoryController(
     IMapper <Dormitory, DormitoryGetModel> groupGetModelMapper,
     IMapper <DormitoryPostModel, Dormitory> groupMapper,
     IMapper <Dormitory, DormitoryPostModel> groupPostModelMapper,
     IMapper <DormitoryRoom, DormitoryRoomGetModel> dormitoryRoomGetModelMapper,
     IMapper <DormitoryRoom, DormitoryRoomSelectModel> dormitoryRoomSelectModelMapper,
     IMapper <Faculty, FacultySelectModel> facultySelectModelMapper,
     IMapper <Student, StudentGetModel> studentGetModelMapper,
     IDormitoryService dormitoryService,
     IDormitoryRoomService dormitoryRoomService,
     IFacultyService facultyService)
 {
     _dormitoryGetModelMapper        = groupGetModelMapper;
     _dormitoryMapper                = groupMapper;
     _dormitoryPostModelMapper       = groupPostModelMapper;
     _dormitoryRoomGetModelMapper    = dormitoryRoomGetModelMapper;
     _dormitoryRoomSelectModelMapper = dormitoryRoomSelectModelMapper;
     _facultySelectModelMapper       = facultySelectModelMapper;
     _studentGetModelMapper          = studentGetModelMapper;
     _dormitoryService               = dormitoryService;
     _dormitoryRoomService           = dormitoryRoomService;
     _facultyService = facultyService;
 }
Esempio n. 23
0
 public FacultyController(IFacultyService facultyService)
 {
     _facultyService = facultyService;
 }
 public FacultyController(IFacultyService facultyService)
 {
     this.facultyService = facultyService;
 }
 private void InitializeFields()
 {
     _mockStudentExchangeDataContext = new Mock <IStudentExchangeDataContext>();
     _mockCourseOfStudyService       = new Mock <ICourseOfStudyService>();
     _facultyService = new FacultyService(_mockStudentExchangeDataContext.Object, _mockCourseOfStudyService.Object);
 }
 public HoursFacultiesReportController(IFacultyService facultyService)
 {
     _facultyService = facultyService;
 }
Esempio n. 27
0
 public EnrolleController(IEnrolleeService enrolleeService, IFacultyService facultyService, IStudentStatusService studentStatusService)
 {
     _enrolleeService      = enrolleeService;
     _facultyService       = facultyService;
     _studentStatusService = studentStatusService;
 }
 public GroupService()
 {
     _dbConnection   = DBAccess.GetDbConnection();
     _facultyService = new FacultyService();
     _logger         = new FileLogger();
 }
Esempio n. 29
0
 public FacultiesController(IFacultyService facultyService)
 {
     _facultyService = facultyService;
 }
 public AdminController(IDepartmentService departmentService, IFacultyService facultyService, IMapper mapper)
     : base(mapper)
 {
     this._departmentService = departmentService;
     this._facultyService    = facultyService;
 }
 public UniversityService(IStudentExchangeDataContext studentExchangeDataContext, IFacultyService facultyService)
 {
     _studentExchangeDataContext = studentExchangeDataContext;
     _facultyService             = facultyService;
 }