public async Task <IActionResult> GetAll([FromQuery] ProductsRequestInput input)
        {
            var list = await _mediator.Send(new GetProductsQuery(input));

            Debugger.Break();

            return(Ok(list));
        }
Beispiel #2
0
 public GetProductsQuery(ProductsRequestInput input)
 {
     Input = input;
 }