Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StudentDomainService"/> class.
 /// </summary>
 /// <param name="studentRepository">The student repository.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public StudentDomainService(IStudentRepository studentRepository, IQuizEntryRepository quizEntryRepository, ISubmissionRepository submissionRepository, IModuleRepository moduleRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService)
     : base(studentRepository, exceptionManager, loggingService)
 {
     StudentRepository    = studentRepository;
     QuizEntryRepository  = quizEntryRepository;
     SubmissionRepository = submissionRepository;
     ModuleRepository     = moduleRepository;
 }
Beispiel #2
0
 public QuizManager(IQuizEntryRepository entryRepository)
 {
     this.entryRepository = entryRepository;
 }
Beispiel #3
0
 public QuizManager(IQuizEntryRepository entryRepository)
 {
     this.entryRepository = entryRepository;
 }