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

@@ -30,7 +30,7 @@ namespace Modelo
{
Presupuesto pre = context.Presupuestos.First(x => x.Id == t.Id);
if (pre == null) return;
context.Presupuestos.Remove(pre);
pre.Habilitado = false;
}
public override void Mod(Presupuesto t)