Beispiel #1
0
        public void OnGet()
        {
            int pageIndex = Convert.ToInt32(Request.Query["pageIndex"][0]);

            Articles    = articleRepositories.Get(pageIndex, 2);
            ArticleNums = articleRepositories.ArticleNum();
            Index       = pageIndex;
        }