Пример #1
0
 public MentorsControllerService(IMentorDTOService service, ApplicationUserManager userManager, IStudentDTOService studentService, IViewFactory viewFactory, IDTOFactory dtoFactory)
 {
     this.studentService = studentService;
     this.mentorService  = service;
     this.userManager    = userManager;
     this.viewFactory    = viewFactory;
     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;
 }