예제 #1
0
        public AccessaryController(IAccessaryBusinessService accessaryService, IBranchBusinessService branchService,
                                   IAccessaryUnitBusinessService accessaryUnitService, ICategoryBusinessService categoryService)
        {
            _serviceBuilder = new ServiceBuilder();
            _serviceBuilder.BuildAccessaryService(accessaryService);
            _serviceBuilder.BuildBranchService(branchService);
            _serviceBuilder.BuildAccessaryUnitService(accessaryUnitService);
            _serviceBuilder.BuildCategoryService(categoryService);

            _serviceParameter = _serviceBuilder.Parameter;
        }
예제 #2
0
        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 AccessaryUnitController(IAccessaryUnitBusinessService accessaryUnitService)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildAccessaryUnitService(accessaryUnitService);
 }