Beispiel #1
0
 public CandidateMatcherTest()
 {
     configuration       = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build();
     jobAdderApiOptions  = new JobAdderApiOptions(configuration);
     CandidateAPIContext = new CandidateAPIContext(jobAdderApiOptions);
     jobAPIContext       = new JobAPIContext(jobAdderApiOptions);
     candidateMatcher    = new CandidateMatcher(CandidateAPIContext, jobAPIContext);
     controller          = new BestCandidateController(candidateMatcher);
 }
Beispiel #2
0
 public CandidateMatcher(ICandidateAPIContext candidateAPIContext, IJobAPIContext jobAPIContext)
 {
     _candidateAPIContext = candidateAPIContext;
     _jobAPIContext       = jobAPIContext;
 }