예제 #1
0
        public IActionResult GetNationalitiesMatches()
        {
            var nationalitiesEntities = _nationalityRepository.GetMatchesNationalities();
            var result = Mapper.Map <IEnumerable <NationalityNameDto> >(nationalitiesEntities);

            return(Ok(result));
        }