Ejemplo n.º 1
0
 public PrintController(IStudentGroupService studentGroupService,
                        IStudentService studentService, IStudentRegisterService studentRegisterService)
 {
     this.studentGroupService    = studentGroupService;
     this.studentService         = studentService;
     this.studentRegisterService = studentRegisterService;
 }
        public StudentGroupController(ILogger <StudentGroupController> logger, IOptions <ApplicationSettings> config, IStudentGroupService studentGroupService)
        {
            _logger = logger;
            _studentGroupService = studentGroupService;

            _config = config;
        }
 public StudentGroupController(IMapper mapper, IGroupService groupService, IStudentService studentService, IStudentGroupService studentGroupService,
                               IStringLocalizer <StudentGroupController> localizer, ILoggerFactory loggerFactory) : base(localizer, loggerFactory)
 {
     _mapper              = mapper;
     _groupService        = groupService;
     _studentService      = studentService;
     _studentGroupService = studentGroupService;
 }
Ejemplo n.º 4
0
 public LectureService(IStudentGroupService studentGroupService,
                       IEmployeeService employeeService,
                       IRoomService roomService,
                       IAuditManager auditmanager) : base(auditmanager)
 {
     this.studentGroupService = studentGroupService;
     this.employeeService     = employeeService;
     this.roomService         = roomService;
 }
        public StudentGroupController(ILogger <StudentGroupController> logger,
                                      IOptions <ApplicationSettings> config,
                                      IStudentGroupService studentGroupService,
                                      IDataProtectionProvider provider)
        {
            _logger = logger;
            _studentGroupService = studentGroupService;

            _config    = config;
            _protector = provider.CreateProtector(_config.Value.Cookies.SecureKey);
        }
 public StudentImportService(IMapper mapper,
                             IUnitOfWork unitOfWork,
                             IAccountService accountService,
                             IStudentService studentService,
                             IStudentGroupService studentGroupService)
 {
     _studentGroupService = studentGroupService;
     _studentService      = studentService;
     _accountService      = accountService;
     _unitOfWork          = unitOfWork;
     _mapper = mapper;
 }
        public StudentGroupServiceTests()
        {
            this.service = new StudentGroupService(new AuditManager());

            service.Add(new StudentGroup
            {
                Name = "First group"
            });

            service.Add(new StudentGroup
            {
                Name = "Second group"
            });
        }
 public StudentGroupsController
 (
     IStudentService studentService,
     IStudentGroupService studentGroupService,
     IStudentGroupStudentService studentGroupStudentService,
     IExamCoreService examCoreService,
     IExamCoreStudentGroupService examCoreStudentGroupService
 )
 {
     _studentService              = studentService;
     _studentGroupService         = studentGroupService;
     _studentGroupStudentService  = studentGroupStudentService;
     _examCoreService             = examCoreService;
     _examCoreStudentGroupService = examCoreStudentGroupService;
 }
Ejemplo n.º 9
0
 public ExamCoresController
 (
     IExamCoreService examCoreService,
     IAnswerService answerService,
     IQuestionService questionService,
     IAnswerPositionService answerPositionService,
     IStudentGroupService studentGroupService,
     IGeneratedExamService generatedExamService,
     IExamCoreStudentGroupService examCoreStudentGroupService,
     IResultService resultService
 )
 {
     _examCoreService             = examCoreService;
     _answerService               = answerService;
     _questionService             = questionService;
     _answerPositionService       = answerPositionService;
     _studentGroupService         = studentGroupService;
     _generatedExamService        = generatedExamService;
     _examCoreStudentGroupService = examCoreStudentGroupService;
     _resultService               = resultService;
 }
Ejemplo n.º 10
0
 public ResultsController(IResultService resultService, IStudentGroupService studentGroupService)
 {
     _resultService       = resultService;;
     _studentGroupService = studentGroupService;
 }
Ejemplo n.º 11
0
 public StudentGroupController(IStudentGroupService studentGroupService)
 {
     _studentGroupService = studentGroupService;
 }
Ejemplo n.º 12
0
 public ResultService(IDbContext dbContext, IStudentGroupService studentGroupService) : base(dbContext)
 {
     _context             = dbContext;
     _studentGroupService = studentGroupService;
 }
Ejemplo n.º 13
0
 public StudentService(IApplicationDbContextFactory applicationDbContextFactory, IStudentGroupService studentGroupService)
 {
     _applicationDbContextFactory = applicationDbContextFactory;
     _studentGroupService         = studentGroupService;
 }
Ejemplo n.º 14
0
 public StudentService(IStudentGroupService studentGroupService, IAuditManager auditManager) : base(auditManager)
 {
     this.studentGroupService = studentGroupService;
 }