From 6f90f2746a33b96a5bd80bfb91c77f44d1b901b8 Mon Sep 17 00:00:00 2001 From: MarcEricMartel <74071476+MarcEricMartel@users.noreply.github.com> Date: Tue, 18 Oct 2022 07:44:47 -0700 Subject: [PATCH] Update InventoryController.cs --- .../GrossesMitainesAPI/Controllers/InventoryController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GrossesMitaines/GrossesMitainesAPI/Controllers/InventoryController.cs b/GrossesMitaines/GrossesMitainesAPI/Controllers/InventoryController.cs index a1744e7..5b247f4 100644 --- a/GrossesMitaines/GrossesMitainesAPI/Controllers/InventoryController.cs +++ b/GrossesMitaines/GrossesMitainesAPI/Controllers/InventoryController.cs @@ -93,7 +93,7 @@ public class InventoryController : Controller { yup = true; } - return lst.Take(AMOUNT); + return lst; } // Inventory/Delete => Décrémenter un produit.