public QuestionsController( IAnswersService answersService, IQuestionsService questionsService, IQuestionCommentService questionCommentService, IQuestionVotingService questionVotingService) { this.questionsService = questionsService; this.questionsService.CheckArgumentIsNull(nameof(QuestionsController.questionsService)); this.questionCommentService = questionCommentService; this.questionCommentService.CheckArgumentIsNull(nameof(QuestionsController.questionCommentService)); this.questionVotingService = questionVotingService; this.questionVotingService.CheckArgumentIsNull(nameof(QuestionsController.questionVotingService)); this.answersService = answersService; this.answersService.CheckArgumentIsNull(nameof(QuestionsController.answersService)); }
public QuestionCommentsController(IQuestionCommentService questionCommentService) { _questionCommentService = questionCommentService; }