oh hell no
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user