Ejemplo n.º 1
0
        public async Task <IEnumerable <StreetTypeT> > GetStreetTypes()
        {
            var resultList = new List <StreetTypeT>();

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