public StudentCourseController(IStudentCourseService studentCourseService, IMapper mapper, IStudentService studentService, ICourseService courseService) { _studentCourseService = studentCourseService; _mapper = mapper; _studentService = studentService; _courseService = courseService; }
public StudentCourseController(IStudentService studentService, IStudentCourseService studentCourseService, ICourseService couseService, UserManager <User> userManager) { _studentService = studentService; _studentCourseService = studentCourseService; _couseService = couseService; _userManager = userManager; }
public StudentCoursesController(IStudentCourseService studentCourseService, ICourseService courseService, IStudentService studentService) { StudentCourseService = studentCourseService; CourseService = courseService; StudentService = studentService; }
public CoursesController( ICourseService courseService, IStudentService studentService, IStudentCourseService studentCourseService, IMappingProvider mapper, UserManager <Student> userManager) { Guard.WhenArgument(courseService, "Course Service can not be null!").IsNull().Throw(); Guard.WhenArgument(studentService, "Student Service can not be null!").IsNull().Throw(); Guard.WhenArgument(studentCourseService, "StudentCourse Service can not be null!").IsNull().Throw(); Guard.WhenArgument(mapper, "Mapper can not be null!").IsNull().Throw(); Guard.WhenArgument(userManager, "User Manager").IsNull().Throw(); this.courseService = courseService; this.studentService = studentService; this.studentCourseService = studentCourseService; this.mapper = mapper; this.userManager = userManager; }
public CourseController( IDateTimeRepository datetimeRepository, IRepository2 <Course> courseRepository, IRepository2 <PhotoAlbum> photoAlbumRepository, IRepository <CourseCategory> courseCategoryRepository, ICourseService courseService, ICurriculumRepository curriculumRepository, IStudentCourseRepository studentCourseRepository, IRepository <StudentScore> studentScoreRepository, IConfigurationRepository configurationRepository, IPhotoAlbumService photoAlbumService, IRepository <Photo> photoRepository, ICurriculumService curriculumService, IStudentCourseService studentCourseService, IStudentScoreService studentScoreService, IBannerService bannerService, IRepository <Banner> bannerRepository, IRepository <Handout> handoutRepository, IHandoutService handoutService) { this._datetimeRepository = datetimeRepository; this._courseRepository = courseRepository; this._photoAlbumRepository = photoAlbumRepository; this._courseCategoryRepository = courseCategoryRepository; this._courseService = courseService; this._curriculumRepository = curriculumRepository; this._studentCourseRepository = studentCourseRepository; this._studentScoreRepository = studentScoreRepository; this._configurationRepository = configurationRepository; this._photoAlbumService = photoAlbumService; this._photoRepository = photoRepository; this._curriculumService = curriculumService; this._studentCourseService = studentCourseService; this._studentScoreService = studentScoreService; this._bannerService = bannerService; this._bannerRepository = bannerRepository; this._handoutRepository = handoutRepository; this._handoutService = handoutService; }
public ExamService(IReadRepository readRepository, IWriteRepository writeRepository, IExamMapper examMapper, ICourseService courseService, IStudentCourseService studentCourseService, IStudentService studentService, IClassroomAllocationService classroomAllocationService, IClassroomAllocationMapper classroomAllocationMapper, IGradeMapper gradeMapper, IStudentMapper studentMapper, IEmailService emailService) { this.writeRepository = writeRepository ?? throw new ArgumentNullException(); this.readRepository = readRepository ?? throw new ArgumentNullException(); this.examMapper = examMapper ?? throw new ArgumentNullException(); this.courseService = courseService ?? throw new ArgumentNullException(); this.classroomAllocationMapper = classroomAllocationMapper ?? throw new ArgumentNullException(); this.classroomAllocationService = classroomAllocationService ?? throw new ArgumentNullException(); this.studentCourseService = studentCourseService ?? throw new ArgumentNullException(); this.studentService = studentService ?? throw new ArgumentNullException(); this.gradeMapper = gradeMapper ?? throw new ArgumentNullException(); this.studentMapper = studentMapper ?? throw new ArgumentNullException(); this.emailService = emailService ?? throw new ArgumentNullException(); }
public StudentCourseController(IStudentCourseService studentCourseService) { this.studentCourseService = studentCourseService; }
public CourseController(ICourseService courseService, IStudentCourseService studentCourseService) { this.courseService = courseService; this.studentCourseService = studentCourseService; }
public EnrollmentController(IStudentCourseService studentCourseService, ICoursesService coursesService) { _studentCourseService = studentCourseService; _coursesService = coursesService; }
private void Initialize() { this.studentCourseService = new StudentCourseService(); this.Courses = studentCourseService.GetStudentCourses(User.UserId); }
public StudentCourseController(ILogger <StudentCourseController> logger, IStudentCourseService service) { _logger = logger; _service = service; }
public StudentCourseController(IStudentCourseService _studentCourseService) { studentCourseService = _studentCourseService; }
public StudentCourseController(IStudentCourseService studentCourseService, ILoggerManager loggerManager) { _studentCourseService = studentCourseService; _loggerManager = loggerManager; }
public StudentsController(IStudentService studentService, IStudentCourseService studentCourseService) { this.studentService = studentService ?? throw new ArgumentNullException(); this.studentCourseService = studentCourseService ?? throw new ArgumentNullException(); }