public async Task <ActionResult <IEnumerable <Product> > > GetProductsByNameAsync(string name) { var products = await _productQueries.GetProductsByNameAsync(name); return(Ok(products)); }
public async Task <ActionResult <IEnumerable <Product> > > GetProductsByNameAsync(string name) { var products = await _productQueries.GetProductsByNameAsync(name); return(Ok(products)); }