public async Task Handle(ProejctViewedEvent notification, CancellationToken cancellationToken) { var @event = new ProejctViewedIntergrationEvent() { ProjectId = notification.ProjectViewer.ProjectId, UserId = notification.ProjectViewer.UserId, UserName = notification.ProjectViewer.UserName }; await _capPublisher.PublishAsync("projectapi.projectviewed", @event); }
public async Task Process(ProejctViewedIntergrationEvent @event) { await Task.CompletedTask; }