Declare PayOrderCommandMsg class DI

This commit is contained in:
Christian Arenas 2017-05-16 15:08:02 +02:00
parent 66ad6b756c
commit 701a0e67e8

View File

@ -48,6 +48,7 @@ namespace Payment.API
services.AddSingleton<IEventBus, EventBusRabbitMQ>();
services.AddSingleton<IEventBusSubscriptionsManager, InMemoryEventBusSubscriptionsManager>();
services.AddTransient<IIntegrationEventHandler<PayOrderCommandMsg>>();
services.AddSwaggerGen();
services.ConfigureSwaggerGen(options =>