public SubmissionsControllerService(ISubmissionDTOService submissionService,
                                     IAssignmentDTOService assignmentService,
                                     IViewFactory viewFactory,
                                     IDTOFactory dtoFactory
                                     )
 {
     this.viewFactory      = viewFactory;
     this.service          = submissionService;
     this.assigmentService = assignmentService;
     this.dtoFactory       = dtoFactory;
 }
예제 #2
0
 public AssignmentsControllerService(IAssignmentDTOService service,
                                     IMentorDTOService mentorService,
                                     IStudentDTOService studentService,
                                     IAssignmentFileDTOService fileService,
                                     ISubmissionDTOService submissionService,
                                     IObjectToObjectMapper mapper,
                                     IViewFactory viewFactory,
                                     IDTOFactory dtoFactory)
 {
     this.assignmentService = service;
     this.mentorService     = mentorService;
     this.studentService    = studentService;
     this.fileService       = fileService;
     this.submissionService = submissionService;
     this.mapper            = mapper;
     this.viewFactory       = viewFactory;
     this.dtoFactory        = dtoFactory;
 }