Beispiel #1
0
        private static void updatePost(BlogCategory post)
        {
            User owner = User.findById(post.OwnerId);
            int  appId = post.AppId;

            BlogLayoutViewCacher.Update(owner, appId);
        }
Beispiel #2
0
        private static void updatePost(BlogPostComment comment)
        {
            BlogPost post = BlogPost.findById(comment.RootId);

            User owner = User.findById(post.OwnerId);
            int  appId = post.AppId;

            BlogLayoutViewCacher.Update(owner, appId);
        }
Beispiel #3
0
        private static void updatePost(BlogPost post)
        {
            User owner = User.findById(post.OwnerId);
            int  appId = post.AppId;

            BlogLayoutViewCacher.Update(owner, appId);
            BlogHomeViewCacher.Update(owner, appId);
            BlogMainViewCacher.Update(appId);
        }