Example #1
0
 public QuestionsController(IQuestionCommands questionCommands, IAnswersCommand answersCommand)
 {
     _questionCommands = questionCommands;
     _answersCommand   = answersCommand;
 }
Example #2
0
 public AnswersController(IAnswersCommand answersCommand, IQuestionCommands questionCommands, IRequestUserProvider requestUserProvider)
 {
     _answersCommand      = answersCommand;
     _questionCommands    = questionCommands;
     _requestUserProvider = requestUserProvider;
 }