public UseCaseBus Build()
        {
            var provider = services.BuildServiceProvider();

            bus.Setup(provider, UseCaseInvokerFactory);
            return(bus);
        }
        public UseCaseBus Build()
        {
            var provider = services.BuildServiceProvider();

            bus.Setup(provider);
            return(bus);
        }