public void GetAppServiceForOneWithDefault() { var serviceName = TestModule.ModuleName + "/Test"; IDefaultControllerBuilderFactory factory = new DefaultControllerBuilderFactory(LocalIocManager); factory.For <ITestAppService>(serviceName).WithApiExplorer(true).Build(); TestAppService(serviceName); }
public void GetAppServiceForOneWithDefault() { var serviceName = ModuleName + "/Test"; var defaultControllerManager = new DefaultControllerManager(); IDefaultControllerBuilderFactory factory = new DefaultControllerBuilderFactory(defaultControllerManager); factory.For <ITestAppService>(ModuleName, serviceName).WithApiExplorer(true).Build(); TestAppService(serviceName, defaultControllerManager); }