Ejemplo n.º 1
0
 public ScheduleService(IRepository <Schedule> repoSched, IRepository <Subject> repoSubject,
                        IRepository <ClassStudentRelationship> repoClassStudentRelationship,
                        ILessonFileRepository lessonFileRepository,
                        IUserService userService,
                        IClassService classService,
                        IScoreService scoreService,
                        ISpecialTaskService specialTaskService,
                        ISpecialTaskAnswerSerivce staService)
 {
     _repoSched   = repoSched;
     _repoSubject = repoSubject;
     _repoClassStudentRelationship = repoClassStudentRelationship;
     this.lessonFileRepository     = lessonFileRepository;
     _userService            = userService;
     _scoreService           = scoreService;
     this.specialTaskService = specialTaskService;
     _staService             = staService;
     _classService           = classService;
 }
Ejemplo n.º 2
0
 public STAController(RoleManager <IdentityRole> roleManager, ISpecialTaskAnswerSerivce spaService, IUserService userService)
     : base(roleManager)
 {
     _spaService  = spaService;
     _userService = userService;
 }