public ActionResult GetMorePosts(AjaxPagingViewModel viewModel) { var posts = _postService.GetPagedPendingPosts(viewModel.PageIndex, ModeratePageSize); return(View(posts)); }
public ActionResult GetMoreTopics(AjaxPagingViewModel viewModel) { var topics = _topicService.GetPagedPendingTopics(viewModel.PageIndex, ModeratePageSize); return(View(topics)); }