public async Task <ReactionShort> RemoveAsync(string publicationId, string userId) { var result = await reactionsApi.DeleteByAuthorAsync( KeysBuilder.PublicationReactionsKey(publicationId), userId); return(ToReactionShort(result, null)); }
public async Task RemoveReactionAsync(string publicationId, string author) { await reactionsApi.DeleteByAuthorAsync($"publication_{publicationId}", author); }