public async Task <ActionResult <GetCustomersByFilterQueryResponse> > Get(GetCustomersByFilterQuery request, CancellationToken cancellationToken = default(CancellationToken)) { return(await Mediator.Send(request, cancellationToken)); }
public async Task <ActionResult <GetCustomersByFilterQueryResponse> > Get([FromQuery] GetCustomersByFilterQuery request) { return(await Send(request)); }