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