public ScheduleController(IScheduleService scheduleService, ISpecialTaskService specialTaskService, RoleManager <IdentityRole> roleManager, IUserService userService, IScoreService scoreService) : base(roleManager) { _scheduleService = scheduleService; this.specialTaskService = specialTaskService; _userService = userService; _scoreService = scoreService; }
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; }