public void Handle(CTExtractSentEvent domainEvent) { if (domainEvent.SentItems.Any()) { _service.UpdateSendStatus(domainEvent.SentItems.First().ExtractType, domainEvent.SentItems); } }
public void Handle(DwhExtractSentEvent domainEvent) { _service.UpdateSendStatus(domainEvent.ExtractType, domainEvent.SentItems); }