private static void BootstrapHandlers(IServiceCollection services) { var registerHandler = (IQueryHandlerRegister)QueryHandler; var serviceProvider = services.BuildServiceProvider(); TeamBootstrapper.DoBootstrap(registerHandler, serviceProvider); }
private static void BootstrapHandlers(IServiceCollection services) { var registerHandler = (IRegisterCommandHandler)Dispatcher; var serviceProvider = services.BuildServiceProvider(); TeamBootstrapper.DoBootstrap(registerHandler, serviceProvider); }