public async Task PublishRemarkVoteSubmittedAsync(RemarkVoteSubmitted @event) => await PublishToAllAsync("remark_vote_submitted", new { remarkId = @event.RemarkId, userId = @event.UserId, positive = @event.Positive, createdAt = @event.CreatedAt } );
public async Task HandleAsync(RemarkVoteSubmitted @event) => await CompleteForAuthenticatedUserAsync(@event);