public void DeletePost(string postId, bool isPage, bool publish) { if (isPage) { BlogClient.DeletePage(_settings.HostBlogId, postId); } else { BlogClient.DeletePost(_settings.HostBlogId, postId, publish); } }
public void DeletePost(string postId, bool isPage, bool publish) { if (isPage) { BlogClient.DeletePage(_settings.HostBlogId, postId); } else { BlogClient.DeletePost(_settings.HostBlogId, postId, publish); } }