コード例 #1
0
 public CommonController(IManufacturerBusinessService manufacturerService, IStyleBusinessService styleService,
                         IModelBusinessService modelService, IYearBusinessService yearService)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildManufacturerService(manufacturerService);
     _serviceBuilder.BuildStyleService(styleService);
     _serviceBuilder.BuildModelService(modelService);
     _serviceBuilder.BuildYearService(yearService);
 }
コード例 #2
0
 public YearController(IYearBusinessService yearService, IModelBusinessService modelService)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildModelService(modelService);
     _serviceBuilder.BuildYearService(yearService);
 }