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);
 }
예제 #3
0
 public ModelController(IModelBusinessService modelService, IStyleBusinessService styleService)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildModelService(modelService);
     _serviceBuilder.BuildStyleService(styleService);
 }