correction types warehouses, products et suppliers

This commit is contained in:
2025-11-27 14:52:09 +01:00
parent 038b0aa26d
commit cd7bfe618a
17 changed files with 47 additions and 47 deletions

View File

@@ -41,7 +41,7 @@ public class GetProductEndpoint(PyroFetesDbContext db)
Id = product.Id,
// Le modèle Product contient "Reference" (string), pas "References" (int)
Reference = int.TryParse(product.Reference, out var refInt) ? refInt : 0,
Reference = product.Reference,
Name = product.Name,
Duration = product.Duration,