Exemple #1
0
 public ExamController(ILoggingService loggingService, IExamService examService,
                       IBaseTestService baseTestService, ITestService testService,
                       IIdentityService identityService, IOptionService optionService,
                       IQuestionService questionService, IAuthenticationService authenticationService) : base(loggingService)
 {
     this._examService           = examService;
     this._testService           = testService;
     this._baseTestService       = baseTestService;
     this._identityService       = identityService;
     this._optionService         = optionService;
     this._questionService       = questionService;
     this._authenticationService = authenticationService;
 }
Exemple #2
0
 public BaseTestController(IBaseTestService baseTestService)
 {
     _baseTestService = baseTestService;
 }
 public AdminController(IAdminService adminService, IBaseTestService baseTestService)
 {
     this._adminService   = adminService ?? throw new ArgumentNullException(nameof(adminService));
     this.baseTestService = baseTestService ?? throw new ArgumentNullException(nameof(baseTestService));
 }
Exemple #4
0
 public AdminController(IAdminService adminService, IBaseTestService baseTestService)
 {
     _adminService    = adminService;
     _baseTestService = baseTestService;
 }