Ejemplo n.º 1
0
 public MainController(ITeamRepository teamRepository, IQuestionGroupRepository questionGroupRepository, IQuestionRepository questionRepository, ITeamAnswerRepository teamAnswerRepository)
 {
     _TeamRepository          = teamRepository;
     _QuestionGroupRepository = questionGroupRepository;
     _QuestionRepository      = questionRepository;
     _TeamAnswerRepository    = teamAnswerRepository;
 }
 public QnAService(IUnitOfWork unitOfWork,
                   IFormQuestionAnswerRepository formQuestionAnswerRepository,
                   IQuestionRepository questionRepository,
                   IAnswerRepository answerRepository,
                   IQuestionGroupRepository quesGroupRepository)
 {
     _unitOfWork                   = unitOfWork;
     _questionRepository           = questionRepository;
     _answerRepository             = answerRepository;
     _quesGroupRepository          = quesGroupRepository;
     _formQuestionAnswerRepository = formQuestionAnswerRepository;
 }
 public QuestionGroupService(IQuestionGroupRepository questionGroupRepository, IUnitOfWork unitOfWork)
 {
     QuestionGroupRepository = questionGroupRepository;
     UnitOfWork = unitOfWork;
 }
Ejemplo n.º 4
0
 public QuestionGroupController(IQuestionGroupRepository questionGroupRepository, IMapper mapper)
 {
     _questionGroupRepository = questionGroupRepository;
     _mapper = mapper;
 }
Ejemplo n.º 5
0
 public QuestionGroupController(IQuestionGroupRepository questionGroupRepository)
 {
     _QuestionGroupRepository = questionGroupRepository;
 }