public ForumTopicWrapperFull GetTopicPosts(int topicid) { //TODO: Deal with polls var postIds = ForumDataProvider.GetPostIDs(TenantId, topicid).Skip((int)_context.StartIndex); if (_context.Count > 0) { postIds = postIds.Take((int)_context.Count); } _context.SetDataPaginated(); return(new ForumTopicWrapperFull(ForumDataProvider.GetTopicByID(TenantId, topicid).NotFoundIfNull(), ForumDataProvider.GetPostsByIDs(TenantId, postIds.ToList()))); }