oh hell no

This commit is contained in:
fedpo
2024-09-08 18:46:32 +01:00
parent 393caac989
commit e3fd07a90a
105 changed files with 5743 additions and 232 deletions

View File

@@ -30,6 +30,8 @@ namespace Modelo
public override void Add(Remito t)
{
t.Lotes = context.Lotes.Where(x => x.IdRemito == t.Id).ToList();
t.Proveedor = context.Proveedores.First(x => x.Cuit == t.Proveedor.Cuit);
context.Remitos.Add(t);
}