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

            BlogLayoutViewCacher.Update(owner, appId);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }