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

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