Exemplo n.º 1
0
        public async Task <IEnumerable <ConfirmationType> > GetConfirmationTypes()
        {
            var resultList = new List <ConfirmationType>();

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