Ejemplo n.º 1
0
        public async Task <List <TransferListDTO> > GetTransfersByPhone(string phone)
        {
            var transfers = await _transferRepository.FilterAsync(t => t.OriginCard.Contact.Phone == phone);

            return(transfers.ProjectedAsCollection <TransferListDTO>());
        }