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