falta mirar en la base de datos si guardo el tipo de moneda

This commit is contained in:
2025-01-14 04:13:13 -03:00
parent 7565e21df8
commit 013744d129
15 changed files with 131 additions and 43 deletions
+3 -2
View File
@@ -31,7 +31,8 @@ public class RepositorioNotificaciones : RepositorioBase<RepositorioNotificacion
var con = Context;
var notis = con.Notificaciones
.Include(x=>x.IdpropiedadNavigation)
.Include(x=>x.IdpropiedadNavigation)
.Include(x=>x.DniclienteNavigation)
.Include(x=>x.DniremitenteNavigation)
.Where(x => x.Dnicliente == dni);
return notis;
@@ -39,7 +40,7 @@ public class RepositorioNotificaciones : RepositorioBase<RepositorioNotificacion
public bool HayNotis(long dni) {
var con = Context;
bool hay = con.Notificaciones.Where(x=>x.Leido == false).Any();
bool hay = con.Notificaciones.Where(x=>x.Leido == false && x.Dnicliente == dni).Any();
return hay;
}
}