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);
 }
 public CarController(IBranchBusinessService branchService, ICarBusinessService carService, IManufacturerBusinessService manufacturerService,
                      IStyleBusinessService styleService, IModelBusinessService modelService, IYearBusinessService yearService,
                      ICustomerExchangeBusinessService customerExchangeService)
 {
     _carService              = carService;
     _yearService             = yearService;
     _styleService            = styleService;
     _modelService            = modelService;
     _branchService           = branchService;
     _manufacturerService     = manufacturerService;
     _customerExchangeService = customerExchangeService;
 }
 public ManufacturerController(IManufacturerBusinessService manufacturerService)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildManufacturerService(manufacturerService);
 }
Example #4
0
 public void BuildManufacturerService(IManufacturerBusinessService manufacturerService)
 {
     _parameter.ManufacturerService = manufacturerService;
 }