Ejemplo n.º 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);
 }
 public BestCandidateController(ICandidateMatcher candidateMatcher)
 {
     _candidateMatcher = candidateMatcher;
 }