public async Task <ActionResult <GetCustomerPaymentCardsDTO> > Get() { var result = new GetCustomerPaymentCardsQuery(); return(Ok(await _mediatr.Send(result))); }
public async Task <ActionResult <GetCustomerPaymentCardsDto> > GetAsync() { var result = new GetCustomerPaymentCardsQuery(); return(Ok(await meciater.Send(result))); }