public IActionResult CreateProductOrderBasedOnProductAndOrderIds(int productId, int orderId, int qty) { var newLineItem = _productOrderRepo.AddProductOrderWithProductAndOrderIds(productId, orderId, qty); return(Created($"/api/lineitems/{newLineItem.Id}", newLineItem)); }