#190 : Application d'une méthode générique pour la pagination.
This commit is contained in:
@@ -112,8 +112,7 @@ namespace Webzine.Repository
|
||||
{
|
||||
return this.dataStore.Artistes
|
||||
.OrderBy(a => a.Nom)
|
||||
.Skip(offset)
|
||||
.Take(limit)
|
||||
.Paginate(offset, limit)
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user