arreglados los eliminar

This commit is contained in:
fedpo
2024-09-06 18:28:31 +01:00
parent 2428f615a6
commit c15ae743ab
8 changed files with 9 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ namespace Modelo
{
Proveedor pro = context.Proveedores.First(x => x.Cuit == t.Cuit);
if (pro == null) return;
context.Proveedores.Remove(pro);
pro.Habilitado = false;
}
public override void Mod(Proveedor t)