public async Task DeleteKnowledgeArticle(Guid Id) { await ContentAccessor.Delete <ContentEntry>(x => x.Id == Id); }
public async Task DeleteContent(Guid Id) { var contentEntry = await ContentAccessor.OneAsync <ContentEntry>(x => x.Id == Id, "Tags", "ContentEntryInfo", "Comments"); await ContentAccessor.Delete <ContentEntry>(contentEntry); }