public void ReloadGrid()
 {
     CurrentIndex = PageSize;
     if (AllProducts.Count > PageSize)
     {
         CurrentProducts = AllProducts.Take((int)PageSize).ToList();
     }
 }
Beispiel #2
0
 internal List <Product> GetOrder()
 {
     return(AllProducts.Take(3).ToList());
 }