Esempio n. 1
0
        public async Task <IActionResult> GetCVsByVacancySkillSet(Guid vacancyId, int threshold)
        {
            try
            {
                var result = await _cvService.GetCVsByVacancy(vacancyId, threshold);

                if (result.Count() == 0)
                {
                    return(NoContent());
                }
                else
                {
                    return(Ok(result));
                }
            }
            catch (ArgumentNullException)
            {
                return(NotFound());
            }
        }