AH BEN KAÏN!!!

This commit is contained in:
MarcEricMartel 2022-11-23 17:06:55 -08:00
parent 3c7c2a1653
commit 7176204044

View File

@ -162,6 +162,8 @@ public class InvoiceController : Controller {
if (prods.Count == 0)
return BadRequest("Vous devez inclure au moins un produit à votre commande.");
inv.Products = new();
foreach (var prod in prods) {
inv.Products.Add(new() {
Product = prod,