public SubmissionMapper(IAssignmentMapper assignmentMapper, IStudentMapper studentMapper, IStudentService studentService, IAssignmentService assignmentService)
 {
     _iAssignmentMapper  = assignmentMapper;
     _iStudentMapper     = studentMapper;
     _iStudentService    = studentService;
     _iAssignmentService = assignmentService;
 }
Exemple #2
0
 public AssignmentAPIShortMapper(ILaboratoryAPIMapper laboratoryAPIMapper, ILaboratoryService laboratoryService, IAssignmentService assignmentService, IAssignmentMapper assignmentMapper)
 {
     _iAssignmentService   = assignmentService;
     _iAssignmentMapper    = assignmentMapper;
     _iLaboratoryService   = laboratoryService;
     _iLaboratoryAPIMapper = laboratoryAPIMapper;
 }
Exemple #3
0
 public AssignmentsController(PortalTemeContext context, UserManager <User> userManager, IAuthorizationService authorizationService, IAssignmentMapper assignmentMapper, ITaskMapper taskMapper, IUrlSlugService slugService)
 {
     _context                  = context;
     this.userManager          = userManager;
     this.authorizationService = authorizationService;
     this.assignmentMapper     = assignmentMapper;
     this.taskMapper           = taskMapper;
     this.slugService          = slugService;
 }
 public AssignmentService(IAssignmentRepository iAssignmentRepository, IAssignmentMapper iAssignmentMapper)
 {
     _iAssignmentRepository = iAssignmentRepository;
     _iAssignmentMapper     = iAssignmentMapper;
 }