public IActionResult UpdateProductOrderQuantityInCart(int productId, int orderId, int qty) { var lineItem = _productOrderRepo.Update(productId, orderId, qty); if (_productOrderRepo.GetLineItemByProductAndOrder(productId, orderId) == null) { return(NotFound("We could not find a line item with this productID and this orderID. Please try again.")); } return(Ok(lineItem)); }