2017-04-03 13:13:40 +02:00
|
|
|
|
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Ordering.API.IntegrationEvents
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderingIntegrationEventService
|
|
|
|
|
{
|
2017-04-05 11:07:26 +02:00
|
|
|
|
Task SaveEventAndOrderingContextChangesAsync(IntegrationEvent evt);
|
|
|
|
|
Task PublishThroughEventBusAsync(IntegrationEvent evt);
|
2017-04-03 13:13:40 +02:00
|
|
|
|
}
|
|
|
|
|
}
|