protected void Calculate(int pageNumber)
        {
            var upperLimit = pageNumber * PageSize;

            CurrentPageItems =
                new ObservableCollection <T>(
                    AllObjects.Where(x => AllObjects.IndexOf(x) > upperLimit - (PageSize + 1) && AllObjects.IndexOf(x) < upperLimit));
        }