using CAPI.Custom.Repositories; using CAPI.Custom.Services.Events.Quotes; namespace CAPI.Custom.Services.EventHandlers.Quotes { public class QuoteProcessedHandler : IHandler { QuoteRepository repository = new QuoteRepository(); public void Handle(QuoteProcessedEvent domainEvent) { repository.FixQuoteItemSorting(domainEvent.QuoteId) .RemoveMatchingSurplusWarehouseItems(domainEvent.QuoteId) .CheckPrevisoulyQuotedItemPrice(domainEvent.QuoteId) .ApplyCATListPriceToQuoteItems(domainEvent.QuoteId); } } }