Пример #1
0
 public ActionResult <string> Get()
 {
     return(Ok(_paymentsRepository.GetAllPayments()));
 }
Пример #2
0
 /// <inheritdoc />
 public async Task <List <PaymentDto> > Handle(GetPaymentsRequest request, CancellationToken cancellationToken)
 {
     return(await paymentsRepository.GetAllPayments(cancellationToken));
 }