public async Task DeleteAsync(string publicationId) { await Reactions.RemoveManyAsync(KeysBuilder.PublicationReactionsKey(publicationId)); await Comments.DeleteManyAsync(publicationId); await publicationsApi.DeleteAsync(publicationId); }
public async Task DeleteAsync(string id) { await reactionsApi.DeleteAsync(id); await publicationsApi.DeleteAsync(id); }