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

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