Beispiel #1
0
 public MainController(ITeamRepository teamRepository, IQuestionGroupRepository questionGroupRepository, IQuestionRepository questionRepository, ITeamAnswerRepository teamAnswerRepository)
 {
     _TeamRepository          = teamRepository;
     _QuestionGroupRepository = questionGroupRepository;
     _QuestionRepository      = questionRepository;
     _TeamAnswerRepository    = teamAnswerRepository;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamAnswerController" /> class.
 /// </summary>
 /// <param name="repository">the repository that will interact with the data</param>
 public TeamAnswerController(ITeamAnswerRepository repository)
 {
     this._repository = repository;
 }
 public TeamAnswerController(ITeamAnswerRepository teamAnswerRepository, ITeamRepository teamRepository)
 {
     _TeamAnswerRepository = teamAnswerRepository;
     _TeamRepository       = teamRepository;
 }