Ejemplo n.º 1
0
 public ExamQuestionController(IExamQuestionRepository examQuestionRepository
                               , IExamRepository examRepository
                               , IQuestionRepository questionRepository
                               , IQuestionChoiceRepository questionChoiceRepository,
                               IChoiceRepository choiceRepository)
 {
     this.examQuestionRepository   = examQuestionRepository;
     this.examRepository           = examRepository;
     this.questionRepository       = questionRepository;
     this.questionChoiceRepository = questionChoiceRepository;
     this.choiceRepository         = choiceRepository;
 }
Ejemplo n.º 2
0
 public QuestionCommandHandler(IQuestionRepository questionRepository,
                               IQuestionChoiceRepository questionChoiceRepository)
 {
     _questionRepository       = questionRepository;
     _questionChoiceRepository = questionChoiceRepository;
 }
Ejemplo n.º 3
0
 public QuestionBc()
 {
     this.questionRepo       = new QuestionRepository(context);
     this.questionChoiceRepo = new QuestionChoiceRepository(context);
 }