Exemplo n.º 1
0
 public TeacherController(ITeacherRepository iTeacherRepository, ICCTRepository iCCTRepository, IGradeRepository iGradeRepository, IClazzRepository iClazzRepository, ICourseRepository iCourseRepository, IUser iUser)
 {
     this._iTeacherRepository = iTeacherRepository;
     this._iCCTRepository     = iCCTRepository;
     this._iGradeRepository   = iGradeRepository;
     this._iClazzRepository   = iClazzRepository;
     this._iCourseRepository  = iCourseRepository;
     GID = (iUser.GetClaimValueByType("GID").FirstOrDefault()).ObjToInt();
 }
Exemplo n.º 2
0
 public FSNStudentController(IExScoreRepository iExScoreRepository, IStudentsRepository iStudentsRepository, IExamRepository iExamRepository, ICourseRepository iCourseRepository, IClazzRepository iClazzRepository, IGradeRepository iGradeRepository, ICCTRepository iCCTRepository, ITeacherRepository iTeacherRepository)
 {
     this._iExScoreRepository  = iExScoreRepository;
     this._iStudentsRepository = iStudentsRepository;
     this._iExamRepository     = iExamRepository;
     this._iCourseRepository   = iCourseRepository;
     this._iClazzRepository    = iClazzRepository;
     this._iGradeRepository    = iGradeRepository;
     this._iCCTRepository      = iCCTRepository;
     this._iTeacherRepository  = iTeacherRepository;
 }
Exemplo n.º 3
0
 public FSNController(IExScoreRepository iExScoreRepository, IStudentsRepository iStudentsRepository, IExamRepository iExamRepository, ICourseRepository iCourseRepository, IClazzRepository iClazzRepository, IGradeRepository iGradeRepository, IUser iUser, ICCTRepository iCCTRepository, ITeacherRepository iTeacherRepository)
 {
     this._iExScoreRepository  = iExScoreRepository;
     this._iStudentsRepository = iStudentsRepository;
     this._iExamRepository     = iExamRepository;
     this._iCourseRepository   = iCourseRepository;
     this._iClazzRepository    = iClazzRepository;
     this._iGradeRepository    = iGradeRepository;
     this._iCCTRepository      = iCCTRepository;
     this._iTeacherRepository  = iTeacherRepository;
     GID = (iUser.GetClaimValueByType("GID").FirstOrDefault()).ObjToInt();
 }