public async Task Handle(CostStageRevisionStatusChanged evnt) { _logger.Information($"Status of cost stage revision {evnt.CostStageRevisionId} of cost {evnt.AggregateId} has been changed to {evnt.Status}"); await _elasticSearchService.UpdateCostSearchItem(evnt); var paperpusherNotifier = _paperpusherNotifiers.First(n => n.Metadata.BuType == evnt.BuType).Value; await paperpusherNotifier.Notify(evnt); }
public async Task Handle(CostOwnerChanged costOwnerChanged) { if (costOwnerChanged == null) { throw new ArgumentNullException(nameof(costOwnerChanged)); } await _elasticSearchService.UpdateCostSearchItem(costOwnerChanged); }
public override Task Handle(SupportingDocumentUpdated message) { return(_elasticSearchService.UpdateCostSearchItem(message)); }
public Task Handle(ExpectedAssetDeleted evnt) { return(_elasticSearchService.UpdateCostSearchItem(evnt)); }
public Task Handle(CostUpdated message) { return(_elasticSearchService.UpdateCostSearchItem(message)); }
public Task Handle(ProductionDetailsUpdated evnt) { return(_elasticSearchService.UpdateCostSearchItem(evnt)); }
public Task Handle(CostLineItemsUpdated evnt) { return(_elasticSearchService.UpdateCostSearchItem(evnt)); }
public async Task Handle(ApproversUpdated evnt) { await _elasticSearchService.UpdateCostSearchItem(evnt); }