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);
        }
Ejemplo n.º 3
0
 public override Task Handle(SupportingDocumentUpdated message)
 {
     return(_elasticSearchService.UpdateCostSearchItem(message));
 }
 public Task Handle(ExpectedAssetDeleted evnt)
 {
     return(_elasticSearchService.UpdateCostSearchItem(evnt));
 }
Ejemplo n.º 5
0
 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);
 }