/// <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;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseAppService"/> class.
 /// </summary>
 /// <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 BaseAppService(IObjectMapperAdapter objectMapper, ICacheAdapter cacheService, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
 {
     this.ObjectMapper     = objectMapper;
     this.CacheService     = cacheService;
     this.ExceptionManager = exceptionManager;
     this.LoggingService   = loggingService;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SecurityAppService"/> class.
 /// </summary>
 /// <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 SecurityAppService(
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ScheduleModuleAppService"/> class.
 /// </summary>
 /// <param name="ScheduleManager">The Schedule 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 ScheduleAppService(
     IScheduleDomainService ScheduleManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.ScheduleManager = ScheduleManager;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserAppService"/> class.
 /// </summary>
 /// <param name="userManager">The user 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 UserAppService(
     IUserDomainService userManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.UserManager = userManager;
 }
 /// <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 BaseQuestionTopicAppService(
     IBaseQuestionTopicDomainService baseQuestionTopicManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.BaseQuestionTopicManager = baseQuestionTopicManager;
 }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StaffAppService"/> class.
 /// </summary>
 /// <param name="staffManager">The staff manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 public StaffAppService(
     IStaffDomainService staffManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.StaffManager = staffManager;
 }
Example #8
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UnitModuleAppService"/> class.
        /// </summary>
        /// <param name="unitManager">The unit 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 VideoAppService(

            IObjectMapperAdapter objectMapper,
            ICacheAdapter cacheService,
            IExceptionManagerAdapter exceptionManager,
            ILoggingServiceAdapter loggingService,
            IVideoDomainService iVideoDomainService)
            : base(objectMapper, cacheService, exceptionManager, loggingService)
        {
            _iVideoDomainService = iVideoDomainService;
        }
Example #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAppService"/> class.
 /// </summary>
 /// <param name="fileManager">The file manager.</param>
 /// <param name="baseFileManager">The base file 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 FileAppService(
     IFileDomainService fileManager,
     IBaseFileDomainService baseFileManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.FileManager     = fileManager;
     this.BaseFileManager = baseFileManager;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageAppService"/> class.
 /// </summary>
 /// <param name="MessageManager">The message manager.</param>
 /// <param name="studentViewedMessageManager">The student viewed message 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 MessageAppService(
     IMessageDomainService messageManager,
     IStudentViewedMessageDomainService studentViewedMessageManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.MessageManager = messageManager;
     this.StudentViewedMessageManager = studentViewedMessageManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DiscussionAppService"/> class.
 /// </summary>
 /// <param name="objectMapperAdapter">The object mapper adapter.</param>
 /// <param name="cacheAdapter">The cache adapter.</param>
 /// <param name="exceptionManagerAdapter">The exception manager adapter.</param>
 /// <param name="loggingServiceAdapter">The logging service adapter.</param>
 /// <param name="discussionDomainService">The discussion domain service.</param>
 /// <param name="topicDomainService">The topic domain service.</param>
 /// <param name="topicPostDomainService">The topic post domain service.</param>
 public DiscussionAppService(IObjectMapperAdapter objectMapperAdapter, ICacheAdapter cacheAdapter,
                             IExceptionManagerAdapter exceptionManagerAdapter, ILoggingServiceAdapter loggingServiceAdapter,
                             IDiscussionDomainService discussionDomainService, ITopicDomainService topicDomainService,
                             ITopicPostDomainService topicPostDomainService,
                             ICourseDomainService courseDomainService)
     : base(objectMapperAdapter, cacheAdapter, exceptionManagerAdapter, loggingServiceAdapter)
 {
     DiscussionManager = discussionDomainService;
     TopicManager      = topicDomainService;
     PostManager       = topicPostDomainService;
     CourseManager     = courseDomainService;
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuizAppService"/> class.
 /// </summary>
 /// <param name="staffManager">The staff manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 public AnswerAppService(
     IAnswerDomainService answerManager,
     IAnswerQuestionChoiceDomainService answerQuestionChoiceManager,
     IQuestionChoiceDomainService questionchoiceManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.AnswerManager = answerManager;
     this.AnswerQuestionChoiceManager = answerQuestionChoiceManager;
     this.QuestionChoiceManager       = questionchoiceManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QuestionAppService"/> class.
 /// </summary>
 /// <param name="questionManager">The staff manager.</param>
 ///  <param name="moduleManager">The module manager.</param>
 /// <param name="questionChoicesManager">The questionchoices mapper.</param>
 ///  <param name="objectMapper">The object mapper.</param>
 ///   <param name="cacheService">The cache servide.</param>
 ///   <param name="exceptionManager">The exception manager.</param>
 ///   <param name="loggingService">The loggin manager.</param>
 public QuestionAppService(
     IQuestionDomainService questionManager,
     IModuleDomainService moduleManager,
     IQuestionChoiceDomainService questionChoicesManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.QuestionManager        = questionManager;
     this.ModuleManager          = moduleManager;
     this.QuestionChoicesManager = questionChoicesManager;
 }
Example #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CourseDomainService"/> class.
 /// </summary>
 /// <param name="courseRepository">The course repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public CourseDomainService(
     ICourseRepository courseRepository,
     IModuleRepository moduleRepository,
     ICourseModuleRepository courseModuleRepository,
     IStaffCourseRepository staffCourseRepository,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(courseRepository, exceptionManager, loggingService)
 {
     CourseRepository            = courseRepository;
     ModuleRepository            = moduleRepository;
     this.CourseModuleRepository = courseModuleRepository;
     this.StaffCourseRepository  = staffCourseRepository;
 }
Example #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AssetAppService"/> class.
 /// </summary>
 /// <param name="AssetManager">The asset manager.</param>
 /// <param name="VideoManager">The video 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 AssetAppService(
     IAssetDomainService assetManager,
     IUnitDomainService unitManager,
     IVideoDomainService videoManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IFileManagerAdapter fileManager,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.AssetManager = assetManager;
     this.UnitManager  = unitManager;
     this.VideoManager = videoManager;
     this.FileManager  = fileManager;
 }
Example #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnitModuleAppService"/> class.
 /// </summary>
 /// <param name="unitManager">The unit 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 UnitModuleAppService(
     IUnitDomainService unitManager,
     IModuleDomainService moduleManager,
     ICourseDomainService courseManager,
     IVideoDomainService videoManager,
     IFileDomainService fileManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService,
     IQuizAppService quizAppService, ICourseModuleAppService courseModuleAppService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.UnitManager            = unitManager;
     this.ModuleManager          = moduleManager;
     this.CourseManager          = courseManager;
     this.VideoManager           = videoManager;
     this.FileManager            = fileManager;
     this._quizAppService        = quizAppService;
     this.CourseModuleAppService = courseModuleAppService;
 }
Example #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuizAppService"/> class.
 /// </summary>
 /// <param name="staffManager">The staff manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 public QuizAppService(
     IQuizDomainService quizManager,
     IModuleDomainService moduleManager,
     IModuleQuizDomainService moduleQuizManager,
     IQuizEntryDomainService quizentryManager,
     IAnswerDomainService answerManager,
     IAnswerQuestionChoiceDomainService answerQuestionChoiceManager,
     IQuestionChoiceDomainService questionChoiceManager,
     IQuestionDomainService questionManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.QuizManager                 = quizManager;
     this.ModuleManager               = moduleManager;
     this.QuizEntryManager            = quizentryManager;
     this.AnswerManager               = answerManager;
     this.AnswerQuestionChoiceManager = answerQuestionChoiceManager;
     this.QuestionChoiceManager       = questionChoiceManager;
     this.QuestionManager             = questionManager;
     this.ModuleQuizManager           = moduleQuizManager;
 }
Example #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AssignmentTaskSubmissionAppService"/> class.
 /// </summary>
 /// <param name="assignmentManager">The assignment manager.</param>
 /// <param name="taskManager">The task manager.</param>
 /// <param name="submissionManager">The submission 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 AssignmentTaskSubmissionAppService(
     IAssignmentDomainService assignmentManager,
     ICourseDomainService courseManager,
     IModuleDomainService moduleManager,
     IUnitDomainService unitManager,
     ITaskDomainService taskManager,
     IMessageDomainService messageManager,
     ISubmissionDomainService submissionManager,
     IFileDomainService fileManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.AssignmentManager = assignmentManager;
     this.TaskManager       = taskManager;
     this.SubmissionManager = submissionManager;
     this.FileManager       = fileManager;
     this.CourseManager     = courseManager;
     this.ModuleManager     = moduleManager;
     this.UnitManager       = unitManager;
     this.MessageManager    = messageManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewedMessageRepository"/> class.
 /// </summary>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 public ViewedMessageRepository(IObjectMapperAdapter objectMapper, IExceptionManagerAdapter exceptionManager)
     : base(objectMapper, exceptionManager)
 {
 }
Example #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModuleQuizDomainService"/> class.
 /// </summary>
 /// <param name="moduleQuizRepository">The module quiz repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public ModuleQuizDomainService(IModuleQuizRepository moduleQuizRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(moduleQuizRepository, exceptionManager, loggingService)
 {
     ModuleQuizRepository = moduleQuizRepository;
 }
Example #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CourseRepository"/> class.
 /// </summary>
 /// <param name="objectMapper">The object mapper.</param>
 public DepartmentRepository(IObjectMapperAdapter objectMapper, IExceptionManagerAdapter exceptionManager)
     : base(objectMapper, exceptionManager)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CourseRepository"/> class.
 /// </summary>
 /// <param name="objectMapper">The object mapper.</param>
 public CourseRegistrationRepository(IObjectMapperAdapter objectMapper, IExceptionManagerAdapter exceptionManager)
     : base(objectMapper, exceptionManager)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseFileDomainService"/> class.
 /// </summary>
 /// <param name="baseFileRepository">The base file repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public BaseFileDomainService(IBaseFileRepository baseFileRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(baseFileRepository, exceptionManager, loggingService)
 {
     BaseFileRepository = baseFileRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TopicDomainService"/> class.
 /// </summary>
 /// <param name="topicRepository">The Topic repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public TopicDomainService(ITopicRepository topicRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(topicRepository, exceptionManager, loggingService)
 {
     TopicRepository = topicRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QuestionRepository"/> class.
 /// </summary>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 public QuestionChoicesRepository(IObjectMapperAdapter objectMapper, IExceptionManagerAdapter exceptionManager)
     : base(objectMapper, exceptionManager)
 {
 }
Example #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserRepository"/> class.
 /// </summary>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 public UserRepository(IObjectMapperAdapter objectMapper, IExceptionManagerAdapter exceptionManager)
     : base(objectMapper, exceptionManager)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MembershipDomainService"/> class.
 /// </summary>
 /// <param name="membershipRepository">The membership repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public MembershipDomainService(IMembershipRepository membershipRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(membershipRepository, exceptionManager, loggingService)
 {
     MembershipRepository = membershipRepository;
 }
Example #28
0
 /// <summary>
 /// Students the domain service.
 /// </summary>
 /// <param name="taskRepository">The task repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public QuizDomainService(IQuizRepository quizRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(quizRepository, exceptionManager, loggingService)
 {
     QuizRepository = quizRepository;
 }
Example #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StudentViewedMessageDomainService"/> class.
 /// </summary>
 /// <param name="alertRepository">The studentViewedAlert repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public StudentViewedMessageDomainService(IViewedMessageRepository studentViewedAlertRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(studentViewedAlertRepository, exceptionManager, loggingService)
 {
     StudentViewedAlertRepository = studentViewedAlertRepository;
 }
 /// <summary>
 /// Asset the domain service.
 /// </summary>
 /// <param name="taskRepository">The task repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public AssetDomainService(IAssetRepository assetRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(assetRepository, exceptionManager, loggingService)
 {
     AssetRepository = assetRepository;
     //base.FindBy(int entityId)
 }