Esempio n. 1
0
 public IList <LinkedInCandidate> SearchInLinkedInCloud(LinkedInSearch parameters)
 {
     return(candidates.Where(c =>
                             parameters.AllowedCountries.Contains(c.Country) &&
                             parameters.Technologies.Contains(c.Technology)
                             ).ToList());
 }
Esempio n. 2
0
        public IList <Candidate> GetCandidates(JobHunt jobHunt)
        {
            LinkedInSearch linkedInSearch     = MapJobHuntToLinkedInSearch(jobHunt);
            var            linkedInCandidates = AdapteeLinkedInManager.SearchInLinkedInCloud(linkedInSearch);

            return(MapLinkedInCandidatesToCandidates(linkedInCandidates));
        }
Esempio n. 3
0
        private LinkedInSearch MapJobHuntToLinkedInSearch(JobHunt jobHunt)
        {
            LinkedInSearch linkedInSearch = new LinkedInSearch(
                jobHunt.GetTechnologiesToFind().ToArray(),
                new List <string> {
                "Argentina", "New Zealand"
            });

            return(linkedInSearch);
        }