funcionalidad terminada

This commit is contained in:
2025-02-02 20:14:39 -03:00
parent 2a8ba5a9f4
commit e7747455ec
11 changed files with 352 additions and 15 deletions
+6
View File
@@ -46,4 +46,10 @@ public class RepositorioNotificaciones : RepositorioBase<RepositorioNotificacion
bool hay = con.Notificaciones.Where(x=>x.Leido == false && x.Dnicliente == dni).Any();
return hay;
}
public Notificacione? ObtenerNotificacionPorKeys(long dni, DateTime? fecha) {
var con = Context;
var n = con.Notificaciones.FirstOrDefault(x => x.Dnicliente ==dni && x.Fecha == fecha);
return n;
}
}