Public Access
centrado stepper y invertido orden de logs
This commit is contained in:
1 parent
ccf909e825
commit
333ee5d326
2 files changed
+6
-4
No files matched your search
@@ -23,7 +23,7 @@ public class RepositorioLogs: RepositorioBase<RepositorioLogs> {
|
||||
|
||||
public IQueryable<Log>? ObtenerLogsPaginado(int pag) {
|
||||
var con = Context;
|
||||
var l = con.Logs.Skip(10*pag).Take(10);
|
||||
var l = con.Logs.OrderByDescending(x=>x.Fecha).Skip(10*pag).Take(10);
|
||||
return l;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user