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); }
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); }