public ProfessorController(
     IProfessorService professorService
     , IProfessorScoreService professorScoreService
     , IEducationalGroupService educationalGroupService
     , ICollegeService collegeService
     , ITermService termService
     , IIndicatorService indicatorService
     , IRoleAccessService roleAccessService
     , IUserRoleService userRoleService
     , ILogService logService
     , IEducationalClassService educationalClassService
     )
 {
     _professorService        = professorService;
     _professorScoreService   = professorScoreService;
     _educationalGroupService = educationalGroupService;
     _collegeService          = collegeService;
     _termService             = termService;
     _indicatorService        = indicatorService;
     _roleAccessService       = roleAccessService;
     _userRoleService         = userRoleService;
     _reportService           = new DapperService(educationalGroupService);
     _logService = logService;
     _educationalClassService = educationalClassService;
 }
Exemple #2
0
        public AccountController(
            IUserService userSVC
            , IRoleService roleSVC
            , IUserRoleService userRolesSVC
            , IRoleAccessService roleAccessSVC
            , IAccessLinkService accessLinkSVC
            //, IHttpContextAccessor httpContextAccessor
            , IConfiguration configuration
            , IMapper mapper
            , IEmailSender emailSender
            , IOptions <EmailConfiguration> emailConfiguration
            )

        {
            _userSVC       = userSVC;
            _roleSVC       = roleSVC;
            _userRolesSVC  = userRolesSVC;
            _roleAccessSVC = roleAccessSVC;
            _accessLinkSVC = accessLinkSVC;
            //_httpContextAccessor = httpContextAccessor;
            _configuration      = configuration;
            _mapper             = mapper;
            _emailSender        = emailSender;
            _emailConfiguration = emailConfiguration.Value;
        }
Exemple #3
0
        public PagesController(
            ITermService termService
            , ICollegeService collegeService
            , IEducationalGroupService educationalGroupService
            , IProfessorService professorService
            , IRoleService roleService
            , IRoleAccessService roleAccessService
            , IAccessService accessService
            , IUserRoleService userRoleService
            , IMappingService mappingService
            , IIndicatorService indicatorService
            , IUniversityLevelMappingService universityLevelMappingService
            , IUserService userService
            , IScheduleService scheduleService


            , IEducationalClassService educationalClassService
            , IStudentEducationalClassService studentEducationalClassService
            , IProfessorScoreService professorScoreService
            , IMappingTypeService mappingTypeService
            , IEducationalGroupScoreService educationalGroupScoreService
            , ILogService logService
            , ILogTypeService logTypeService
            , IServiceUsersMappingService serviceUsersMappingService
            )
        {
            _termService                   = termService;
            _collegeService                = collegeService;
            _educationalGroupService       = educationalGroupService;
            _professorService              = professorService;
            _roleService                   = roleService;
            _roleAccessService             = roleAccessService;
            _accessService                 = accessService;
            _userRoleService               = userRoleService;
            _mappingService                = mappingService;
            _indicatorService              = indicatorService;
            _universityLevelMappingService = universityLevelMappingService;
            _userService                   = userService;
            _scheduleService               = scheduleService;
            _logService                     = logService;
            _logTypeService                 = logTypeService;
            _educationalClassService        = educationalClassService;
            _studentEducationalClassService = studentEducationalClassService;
            _professorScoreService          = professorScoreService;
            _mappingTypeService             = mappingTypeService;
            _educationalGroupScoreService   = educationalGroupScoreService;
            _serviceUsersMappingService     = serviceUsersMappingService;
            //SyncService.RunAll(termService, mappingService, collegeService, educationalGroupService
            //    , professorService, educationalClassService, studentEducationalClassService, professorScoreService
            //    , indicatorService, mappingTypeService, universityLevelMappingService, educationalGroupScoreService
            //    , logService, logTypeService, userService);
            //var lastUpdate = _logService.LastUpdate();
        }
 public IndicatorController(
     IObjectTypeService objectTypeService
     , IIndicatorService indicatorService
     , IRatioService ratioService
     , IScoreService scoreService
     , IRoleAccessService roleAccessService
     , IUserRoleService userRoleService
     )
 {
     _indicatorService  = indicatorService;
     _ratioService      = ratioService;
     _scoreService      = scoreService;
     _objectTypeService = objectTypeService;
     _roleAccessService = roleAccessService;
     _userRoleService   = userRoleService;
 }
Exemple #5
0
 public StudentEvaluationController(ITermService termService, IEvaluationQuestionService evaluationQuestionService,
                                    IEvaluationAnswerService evaluationAnswerService
                                    , IRoleAccessService roleAccessService
                                    , IUserRoleService userRoleService
                                    , ILogService logService,
                                    IEvaluationTypeService evaluationTypeService
                                    , IStudentEducationalClassService studentEducationalClassService)
 {
     _termService = termService;
     _evaluationQuestionService = evaluationQuestionService;
     _evaluationAnswerService   = evaluationAnswerService;
     _roleAccessService         = roleAccessService;
     _userRoleService           = userRoleService;
     _logService                     = logService;
     _evaluationTypeService          = evaluationTypeService;
     _studentEducationalClassService = studentEducationalClassService;
 }
 public CollegeController(
     ICollegeService collegeService
     , ICollegeScoreService collegeScoreService
     , IEducationalGroupService educationalGroupService
     , ITermService termService
     , IRoleAccessService roleAccessService
     , IUserRoleService userRoleService
     , ILogService logService
     )
 {
     _collegeService          = collegeService;
     _collegeScoreService     = collegeScoreService;
     _educationalGroupService = educationalGroupService;
     _termService             = termService;
     _reportService           = new DapperService(educationalGroupService);
     _roleAccessService       = roleAccessService;
     _userRoleService         = userRoleService;
     _logService = logService;
 }
Exemple #7
0
 public UserController(IUserService userSVC
                       , IRoleService roleSVC
                       , IUserRoleService userRolesSVC
                       , IRoleAccessService roleAccessSVC
                       , IAccessLinkService accessLinkSVC
                       , IHttpContextAccessor httpContextAccessor
                       , IConfiguration configuration
                       , IMapper mapper
                       )
 {
     _userSVC      = userSVC;
     _roleSVC      = roleSVC;
     _userRolesSVC = userRolesSVC;
     //_roleAccessSVC = roleAccessSVC;
     //_accessLinkSVC = accessLinkSVC;
     //_httpContextAccessor = httpContextAccessor;
     _configuration = configuration;
     _mapper        = mapper;
 }
Exemple #8
0
 public EducationalClassesController(
     IEducationalClassService educationalClassService
     , IEducationalGroupService educationalGroupService
     , ITermService termService
     , IProfessorScoreService professorScoreService
     , IScoreService scoreService
     , IRoleAccessService roleAccessService
     , IUserRoleService userRoleService
     , IProfessorService professorService
     , IIndicatorService indicatorService
     )
 {
     _educationalClassService = educationalClassService;
     _educationalGroupService = educationalGroupService;
     _termService             = termService;
     _professorScoreService   = professorScoreService;
     _scoreService            = scoreService;
     _roleAccessService       = roleAccessService;
     _userRoleService         = userRoleService;
     _professorService        = professorService;
     _indicatorService        = indicatorService;
 }
 public EducationalGroupController(
     IEducationalGroupService educationalGroupService
     , ITermService termService
     , IIndicatorService indicatorService
     , IEducationalGroupScoreService educationalGroupScoreService
     , IScoreService scoreService
     , ICollegeService collegeService
     , IRoleAccessService roleAccessService
     , IUserRoleService userRoleService
     , ILogService logService
     )
 {
     _educationalGroupService      = educationalGroupService;
     _termService                  = termService;
     _indicatorService             = indicatorService;
     _educationalGroupScoreService = educationalGroupScoreService;
     _scoreService                 = scoreService;
     _collegeService               = collegeService;
     _reportService                = new DapperService(educationalGroupService);
     _roleAccessService            = roleAccessService;
     _userRoleService              = userRoleService;
     _logService = logService;
 }