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

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