public CandidateController(ICandidateQuery candidateQuery, IInterviewQuery interviewQuery) { this.candidateQuery = candidateQuery ?? throw new ArgumentNullException(nameof(candidateQuery)); this.interviewQuery = interviewQuery ?? throw new ArgumentNullException(nameof(interviewQuery)); }
public CandidateController(ICandidateQuery candidateQuery, IConfiguration configuration, ICandidateCommand candidateCommand) { this.candidateQuery = candidateQuery; this.configuration = configuration; this.candidateCommand = candidateCommand; }