refactor: eliminadas lineas en blanco

This commit is contained in:
fedpo
2024-09-30 17:39:34 +01:00
parent c8827a6e2f
commit 1ef74f18c4

View File

@@ -31,7 +31,6 @@ namespace Modelo
public override void Add(Remito t)
{
if (t.Lotes == null) return;
t.Proveedor = context.Proveedores.First(x => x.Cuit == t.Proveedor.Cuit);
@@ -51,10 +50,8 @@ namespace Modelo
context.ProductoNoPercederos.FirstOrDefault(x => x.Id == lote.Producto.Id);
}
t.Lotes = listaLotes;
context.Remitos.Add(t);
}