public CustomerController(IBranchBusinessService branchService, ICustomerBusinessService customerService, ICustomerTypeBusinessService customerTypeService, ICustomerExchangeBusinessService customerExchangeService) { _branchService = branchService; _customerService = customerService; _customerTypeService = customerTypeService; _customerExchangeService = customerExchangeService; }
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 QuotationController(IAccessaryBusinessService accessaryService, IAccessaryUnitBusinessService accessaryUnitService, IServiceBusinessService publicService, IServiceUnitBusinessService publicServiceUnit, IQuotationBusinessService quotationService, ICarBusinessService carService, ICustomerBusinessService customerService, ICustomerExchangeBusinessService customerExchangeService, IBranchBusinessService branchService, ICustomerTypeBusinessService customerTypeService) { _serviceBuilder = new ServiceBuilder(); _serviceBuilder.BuildAccessaryService(accessaryService); _serviceBuilder.BuildAccessaryUnitService(accessaryUnitService); _serviceBuilder.BuildPublicService(publicService); _serviceBuilder.BuildServiceUnitService(publicServiceUnit); _serviceBuilder.BuildQuotationService(quotationService); _serviceBuilder.BuildCarService(carService); _serviceBuilder.BuildCustomerService(customerService); _serviceBuilder.BuildCustomerExchangeService(customerExchangeService); _serviceBuilder.BuildBranchService(branchService); _serviceBuilder.BuildCustomerTypeService(customerTypeService); _serviceParameter = _serviceBuilder.Parameter; }
public void BuildCustomerExchangeService(ICustomerExchangeBusinessService customerExchangeService) { _parameter.CustomerExchangeService = customerExchangeService; }