public async Task <ActionResult <IEnumerable <Product> > > GetOrdersByProductIdAsync(Guid productId) { var orders = await _orderQueries.GetOrdersByProductIdAsync(productId); return(Ok(orders)); }
public async Task <ActionResult <IEnumerable <Product> > > GetOrdersByProductIdAsync(Guid productId) { var orders = await _orderQueries.GetOrdersByProductIdAsync(productId); return(Ok(orders)); }