/// <summary>
 /// Initializes a new instance of the <see cref="CourseModuleAppService"/> class.
 /// </summary>
 /// <param name="courseManager">The course manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="cacheService">The cache service.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public CourseModuleAppService(
     ICourseDomainService courseManager,
     IModuleDomainService moduleManager,
     IModuleQuizDomainService moduleQuizManager,
     IDepartmentDomainService departmentManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService,
     ICourseRegistrationDomainService courseRegistrationManager,
     IQuizDomainService quizManager,
     IAssignmentDomainService assignmentManager,
     ISubmissionDomainService submissionManager,
     IStudentDomainService studentManager)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.CourseManager             = courseManager;
     this.ModuleManager             = moduleManager;
     this.DepartmentManager         = departmentManager;
     this.CourseRegistrationManager = courseRegistrationManager;
     this.QuizManager       = quizManager;
     this.AssignmentManager = assignmentManager;
     this.SubmissionManager = submissionManager;
     this.StudentManager    = studentManager;
 }
Ejemplo n.º 2
0
 public EmployeeAppService(IRepository <Employee, int> emprepository,
                           IDepartmentDomainService deptDomainService
                           , IObjectMapper objectMapper)
     : base(emprepository)
 {
     _objectMapper          = objectMapper;
     this.deptDomainService = deptDomainService;
 }
Ejemplo n.º 3
0
 public DepartmentAppService(IRepository <Department, int> repository,
                             IDepartmentDomainService deptDomainService,
                             IEmployeeDomainService empDomainService
                             , IObjectMapper objectMapper
                             ) : base(repository)
 {
     this.deptDomainService = deptDomainService;
     _objectMapper          = objectMapper;
     this.empDomainService  = empDomainService;
 }
Ejemplo n.º 4
0
 public DepartmentAppService(IDepartmentDomainService departmentDomainService,
                             IDapperRepository <Domain.Department, long> departmentRepository)
 {
     _departmentDomainService = departmentDomainService;
     _departmentRepository    = departmentRepository;
 }
Ejemplo n.º 5
0
 public DepartmentApplicationService(IDepartmentDomainService departmentService, IMapper mapper)
 {
     _departmentService = departmentService;
     _mapper            = mapper;
 }