public async Task <IEnumerable <County> > GetCounties() { var resultList = new List <County>(); foreach (var result in await _lustRepository.GetCounties()) { resultList.Add(_mapper.Map <EntityDto.County, County>(result)); } return(resultList); }
public async Task <IEnumerable <County> > GetCounties() { var resultList = new List <County>(); foreach (var result in await _lustRepository.GetCounties()) { resultList.Add(_mapper.Map <EntityDto.County, County>(result)); } return(resultList); }