public Task Handle(VerificationChangedNotification notification, CancellationToken cancellationToken) { var context = fLoggingContextService.GetRequestContext(); var @event = new UserVerifiedChangedEvent(notification.UserId.ToString(), notification.Verified, context); const string method = nameof(IRemoteClient.UserVerifiedChangedEventAsync); return(fClientHubService.SendEventAsync(@event, method, context, cancellationToken)); }
private async Task UserVerifiedChangedEventAsync(UserVerifiedChangedEvent @event) { await HandleEventAsync(@event); }