v2 ing soft #89

Merged
fede merged 92 commits from dev into main 2025-07-28 20:20:59 -03:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 98414a5ec7 - Show all commits
+1 -1
View File
@@ -46,7 +46,7 @@ public class AuditoriaFacade {
NombreTabla = "Logs",
Columna = "Login",
ValorAnterior = "",
ValorNuevo = $"Se Accedio con la direccion ip: {remoteIpAddress.ToString()}",
ValorNuevo = $"Se Accedio con la direccion ip: {remoteIpAddress?.ToString() ?? "Desconocida"}",
}
]);
+2 -2
View File
@@ -21,9 +21,9 @@ public class RepositorioLogs: RepositorioBase<RepositorioLogs> {
return d.LogDetalles.OrderBy(x=>x.Id);
}
public IQueryable<Log>? ObtenerLogsPaginado(int pag) {
public IQueryable<Log> ObtenerLogsPaginado(int pag) {
var con = Context;
var l = con.Logs.OrderByDescending(x=>x.Fecha).Skip(10*pag).Take(10);
return l;
}
}
}