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

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