示例#1
0
 public TestController(IQuestionRepository serviceQuestion, ITestRepository serviceTest, IWebHostEnvironment hostEnvironment,
                       IAuthRepository serviceUser, IStudentTestRepository serviceStudentTest,
                       IClassroomTestRepository serviceClassroomTest, ITeacherClassRepository serviceTeacherClass, IProfessionRepository serviceProfession)
 {
     this._serviceQuestion      = serviceQuestion;
     this._serviceUser          = serviceUser;
     this._serviceTest          = serviceTest;
     this._serviceStudentTest   = serviceStudentTest;
     this._serviceClassroomTest = serviceClassroomTest;
     this._serviceTeacherClass  = serviceTeacherClass;
     this._serviceProfession    = serviceProfession;
     this.webHostEnvironment    = hostEnvironment;
 }
示例#2
0
 public StudentTestProvider(ITestRepository testRepo, IUserRepository userRepo, IStudentTestRepository studentTestRepository)
 {
     _userRepo = userRepo;
     _studentTestRepository = studentTestRepository;
     _testRepo = testRepo;
 }
示例#3
0
 public StudentTestController(IStudentTestRepository service, ITestRepository serviceTest, IAuthRepository serviceUser)
 {
     this._service     = service;
     this._serviceTest = serviceTest;
     this._serviceUser = serviceUser;
 }