refactor: eliminadas lineas en blanco
This commit is contained in:
@@ -31,7 +31,6 @@ namespace Modelo
|
|||||||
public override void Add(Remito t)
|
public override void Add(Remito t)
|
||||||
{
|
{
|
||||||
if (t.Lotes == null) return;
|
if (t.Lotes == null) return;
|
||||||
|
|
||||||
|
|
||||||
t.Proveedor = context.Proveedores.First(x => x.Cuit == t.Proveedor.Cuit);
|
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);
|
context.ProductoNoPercederos.FirstOrDefault(x => x.Id == lote.Producto.Id);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
t.Lotes = listaLotes;
|
t.Lotes = listaLotes;
|
||||||
|
|
||||||
|
|
||||||
context.Remitos.Add(t);
|
context.Remitos.Add(t);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user