ahi va todo fixeado por ahora faltan forms

This commit is contained in:
2024-04-26 23:43:00 +01:00
parent 1aba8e7cd5
commit 812b9a9fba
26 changed files with 75 additions and 66 deletions

View File

@@ -28,10 +28,10 @@ namespace Modelo
try
{
var ordenAModificar = almacen.Find(x => x.Id == t.Id);
if (ordenAModificar != null)
var ordenAModificar = almacen.FindIndex(x => x.Id == t.Id);
if (ordenAModificar > -1)
{
ordenAModificar = t;
almacen[ordenAModificar] = t;
ret = true;
}
}