コード例 #1
0
        public async Task <IEnumerable <ZipCode> > GetZipCodes()
        {
            var resultList = new List <ZipCode>();

            foreach (var result in await _lustRepository.GetZipCodes())
            {
                resultList.Add(_mapper.Map <EntityDto.ZipCode, ZipCode>(result));
            }
            return(resultList);
        }