예제 #1
0
        public ActionResult GetMorePosts(AjaxPagingViewModel viewModel)
        {
            var posts = _postService.GetPagedPendingPosts(viewModel.PageIndex, ModeratePageSize);

            return(View(posts));
        }
예제 #2
0
        public ActionResult GetMoreTopics(AjaxPagingViewModel viewModel)
        {
            var topics = _topicService.GetPagedPendingTopics(viewModel.PageIndex, ModeratePageSize);

            return(View(topics));
        }