Declare PayOrderCommandMsg class DI
This commit is contained in:
parent
a757bb58f0
commit
4cd594bebc
@ -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…
x
Reference in New Issue
Block a user