Beispiel #1
0
 protected void InitializePager(IEnumerable <Product> entities)
 {
     ViewModel.Pagging.List = SortingHelper.ToSortedPagedList(entities, (Sort)ViewModel.SortFilter.Sort,
                                                              ViewModel.PageSizeFilter.PageSize,
                                                              ViewModel.PageFilter.Page);
     InitializeRoutes();
 }