Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public QuizManager(IQuizEntryRepository entryRepository)
 {
     this.entryRepository = entryRepository;
 }
Exemplo n.º 3
0
 public QuizManager(IQuizEntryRepository entryRepository)
 {
     this.entryRepository = entryRepository;
 }