public async Task <ActionResult <SalesOrder> > GetOrderAsync(int orderId) { var order = await _orderingRepository.GetOrderAsync(orderId); if (order is null) { return(NotFound()); } return(order); }
public async Task <ActionResult <SalesOrder> > GetOrderAsync(int orderId) { var order = await _orderingRepository.GetOrderAsync(orderId); if (order is null) { return(NotFound()); } return(order); }