Browse Source

Declare PayOrderCommandMsg class DI

pull/223/head
Christian Arenas 7 years ago
parent
commit
4cd594bebc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Services/Payment/Payment.API/Startup.cs

+ 1
- 0
src/Services/Payment/Payment.API/Startup.cs 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 =>


Loading…
Cancel
Save