private static void updatePost(BlogCategory post) { User owner = User.findById(post.OwnerId); int appId = post.AppId; LayoutViewCacher.Update(owner, appId); }
private static void updatePost(BlogPost post) { User owner = User.findById(post.OwnerId); int appId = post.AppId; LayoutViewCacher.Update(owner, appId); HomeViewCacher.Update(owner, appId); MainViewCacher.Update(appId); }
private static void updatePost(BlogPostComment comment) { BlogPost post = BlogPost.findById(comment.RootId); User owner = User.findById(post.OwnerId); int appId = post.AppId; LayoutViewCacher.Update(owner, appId); }