Пример #1
0
        public async Task SendDecreasePremiumProductsCountEvent(Guid accountId)
        {
            var decreaseEvent = new DecreasePremiumProductsCountEvent
            {
                AccountId = accountId
            };

            await _serviceBusClient.Publish(decreaseEvent);
        }