#190 : Application d'une méthode générique pour la pagination.
This commit is contained in:
@@ -217,8 +217,7 @@ namespace Webzine.Repository
|
||||
.AsNoTracking()
|
||||
.OrderBy(a => a.Nom)
|
||||
.Include(t => t.Titres)
|
||||
.Skip(offset)
|
||||
.Take(limit);
|
||||
.Paginate(offset, limit);
|
||||
this.logger.LogDebug("Page {PageNumber} d'artistes récupérée avec {PageSize} artistes par page.", offset, limit);
|
||||
return artistes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user