This commit is contained in:
2025-01-30 23:27:47 -03:00
parent b98cf77807
commit 68745cab5e
9 changed files with 660 additions and 6 deletions
+4 -1
View File
@@ -20,10 +20,13 @@ public class RepositorioNotificaciones : RepositorioBase<RepositorioNotificacion
return Guardar(con);
}
public bool AltaNotificacion(Notificacione n) {
public bool AltaNotificacion(Notificacione n, long dni=0) {
var con = Context;
con.Notificaciones.Add(n);
if (dni !=0){
GenerarLog(con, dni, "Se envio un informe");
}
return Guardar(con);
}