public OrderDto GetOrderById(int orderId) { var order = _repo.GetOrderById(orderId); if (order == null) { throw new NotFoundException("Not found"); } return(order); }
public OrderDto GetOrderById(int orderId) { var order = _repo.GetOrderById(orderId); if (order == null) { throw new NotFoundException("Not found"); } return(order); }