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