Esempio n. 1
0
            public async Task <IEnumerable <Payment> > Handle(Query request, CancellationToken cancellationToken)
            {
                var payments = await _repository.GetListAsync <Payment>(request.ToString());

                return(payments);
            }
            public async Task <IEnumerable <FreightBill> > Handle(Query request, CancellationToken cancellationToken)
            {
                var freightbills = await _repository.GetListAsync <FreightBill>(request.ToString());

                return(freightbills);
            }