Пример #1
0
        public async Task Handle(OrderPaidDomainEvent notification, CancellationToken cancellationToken)
        {
            var order = await _suitAlterationRepository.GetByIdAsync(notification.SuitAlterationId);

            // e.g. we can send payment info or whatever to the customer email
            await _notifierService.OnOrderPaidNotification(order.Id);
        }