예제 #1
0
        public async Task DeleteAsync(string publicationId)
        {
            await Reactions.RemoveManyAsync(KeysBuilder.PublicationReactionsKey(publicationId));

            await Comments.DeleteManyAsync(publicationId);

            await publicationsApi.DeleteAsync(publicationId);
        }
예제 #2
0
        public async Task DeleteAsync(string id)
        {
            await reactionsApi.DeleteAsync(id);

            await publicationsApi.DeleteAsync(id);
        }