private IReadOnlyList <NewsfeedPost> GetPostsForUser(IReadOnlyList <NewsfeedPost> posts, UserId userId)
 {
     return(posts.Select(v => new NewsfeedPost(
                             v.CreatorId,
                             v.PostId,
                             v.BlogId,
                             v.ChannelId,
                             v.PreviewText,
                             v.ImageId,
                             v.PreviewWordCount,
                             v.WordCount,
                             v.ImageCount,
                             v.FileCount,
                             v.VideoCount,
                             v.LiveDate,
                             v.ImageName,
                             v.ImageExtension,
                             v.ImageSize,
                             v.ImageRenderWidth,
                             v.ImageRenderHeight,
                             v.LikesCount,
                             v.CommentsCount,
                             UserIds.IndexOf(userId) < v.LikesCount,
                             v.CreationDate)).ToList());
 }