Exemple #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;
 }
 public TeacherClassController(ITeacherClassRepository service, IClassroomTestRepository serviceClassTest)
 {
     this._service          = service;
     this._serviceClassTest = serviceClassTest;
 }