private static void updatePost(BlogCategory post) { User owner = User.findById(post.OwnerId); int appId = post.AppId; BlogLayoutViewCacher.Update(owner, appId); }
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); }
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); }