Esempio n. 1
0
        public async Task <IActionResult> GetSkills()
        {
            var skillsFromRepo = await _repo.GetSkills();

            var skillsToReturn = _mapper.Map <IEnumerable <SkillForListDto> >(skillsFromRepo);

            return(Ok(skillsToReturn));
        }