Example #1
0
 public UserController(IAuthRepository service, IConfiguration config,
                       IProfessionRepository serviceProfession, IClassRepository serviceClass,
                       ITeacherClassRepository serviceTeacherClass)
 {
     this._service             = service;
     this._config              = config;
     this._serviceProfession   = serviceProfession;
     _serviceClass             = serviceClass;
     this._serviceTeacherClass = serviceTeacherClass;
 }
Example #2
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;
 }
Example #3
0
 public TeacherClassService(ITeacherClassRepository teacherClassRepository)
 {
     _teacherClassRepository = teacherClassRepository;
 }
 public TeacherClassController(ITeacherClassRepository service, IClassroomTestRepository serviceClassTest)
 {
     this._service          = service;
     this._serviceClassTest = serviceClassTest;
 }