public SubmissionMapper(IAssignmentMapper assignmentMapper, IStudentMapper studentMapper, IStudentService studentService, IAssignmentService assignmentService) { _iAssignmentMapper = assignmentMapper; _iStudentMapper = studentMapper; _iStudentService = studentService; _iAssignmentService = assignmentService; }
public void Setup() { this._student = StudentTestUtils.GetStudent(); this._studentDetailsDto = StudentTestUtils.GetStudentDetailsDto(this._student.Id); this._studentCreationDto = StudentTestUtils.GetStudentCreationDto(); this._studentMapper = new StudentMapper(); }
public void Cleanup() { this._student = null; this._studentDetailsDto = null; this._studentCreationDto = null; this._studentMapper = null; }
public AttendanceMapper(ILaboratoryMapper laboratoryMapper, IStudentMapper studentMapper, IStudentService studentService, ILaboratoryService laboratoryService) { _iLaboratoryMapper = laboratoryMapper; _iStudentMapper = studentMapper; _iStudentService = studentService; _iLaboratoryService = laboratoryService; }
public AdminService( ICompanyRepository cathedraRepository, ISubjectRepository subjectRepository, ITeacherRepository teacherRepository, IStudentRepository studentRepository, ICompanyMapper cathedraMapper, ISubjectMapper subjectMapper, ITeacherMapper teacherMapper, IStudentMapper studentMapper, IAccountMapper accountMapper, IDateParseHelper dateParseHelper, IEmailProvider emailProvider, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager) { _companyRepository = cathedraRepository; _subjectRepository = subjectRepository; _teacherRepository = teacherRepository; _studentRepository = studentRepository; _cathedraMapper = cathedraMapper; _subjectMapper = subjectMapper; _teacherMapper = teacherMapper; _studentMapper = studentMapper; _accountMapper = accountMapper; _dateParseHelper = dateParseHelper; _emailProvider = emailProvider; _userManager = userManager; _signInManager = signInManager; }
public UserController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, Messages messages, IExerciseMapper exerciseMapper, IStudentMapper studentMapper) { _userManager = userManager; _signInManager = signInManager; _messages = messages; _exerciseMapper = exerciseMapper; _studentMapper = studentMapper; }
public StudentController(PeSportsTrackingContext context, IChartDataService chartDataService, Messages messages, IStudentMapper studentMapper) { _context = context; _chartDataService = chartDataService; _messages = messages; _studentMapper = studentMapper; }
public AdminController(IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccessor, ISecureTokenGenerator secureTokenGenerator, Messages messages, IStudentMapper studentMapper) { _secureTokenGenerator = secureTokenGenerator; _messages = messages; _studentMapper = studentMapper; _urlHelper = urlHelperFactory.GetUrlHelper(actionContextAccessor.ActionContext); }
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 StudentController(IUnitOfWork uow, IStudentMapper studentMapper) { unitOfWork = uow; studentRepository = uow.StudentRepository; mapper = studentMapper; }
public SchoolController(SchoolContext context, IStudentMapper studentMapper) { _context = context; _studentMapper = studentMapper; }
public StudentService(IStudentRepository iStudentRepository, IStudentMapper iStudentMapper) { _iStudentRepository = iStudentRepository; _iStudentMapper = iStudentMapper; }
public StudController(IStudentMapper mapper) { _mapper = mapper; }
public StudentService(IReadRepository readRepository, IWriteRepository writeRepository, IStudentMapper studentMapper) { this.writeRepository = writeRepository ?? throw new ArgumentNullException(); this.readRepository = readRepository ?? throw new ArgumentNullException(); this.studentMapper = studentMapper ?? throw new ArgumentNullException(); }