Exemplo n.º 1
0
        public async Task <IEnumerable <GetTransactionTypeDto> > GetTransactionTypesAsync()
        {
            var transactionTypes = await _transactionType.GetTransactionTypesAsync();

            return(_mapper.Map <IEnumerable <GetTransactionTypeDto> >(transactionTypes.OrderBy(d => d.Type)));
        }