コード例 #1
0
 public CandidateController(ICandidateQuery candidateQuery,
                            IInterviewQuery interviewQuery)
 {
     this.candidateQuery = candidateQuery
                           ?? throw new ArgumentNullException(nameof(candidateQuery));
     this.interviewQuery = interviewQuery
                           ?? throw new ArgumentNullException(nameof(interviewQuery));
 }
コード例 #2
0
 public CandidateController(ICandidateQuery candidateQuery,
                            IConfiguration configuration,
                            ICandidateCommand candidateCommand)
 {
     this.candidateQuery   = candidateQuery;
     this.configuration    = configuration;
     this.candidateCommand = candidateCommand;
 }