Пример #1
0
        public BaseController()
        {
            _relatedProductService = new RelatedProductService();
            _productSpecificationAttributeMappingService = new ProductSpecificationAttributeMappingService();
            _specificationAttributeValueService          = new SpecificationAttributeValueService();
            _specificationAttributeService = new SpecificationAttributeService();
            _prodcutAttributeValueService  = new ProdcutAttributeValueService();
            _productAttributeService       = new ProductAttributeService();
            _productCategoryMappingService = new ProductCategoryMappingService();
            _categoryService = new CategoryService();
            _productPictureMappingService = new ProductPictureMappingService();
            _pictureService           = new PictureService();
            _productService           = new ProductService();
            _brandService             = new BrandService();
            _productTagMappingService = new ProductTagMappingService();
            _produtTagService         = new ProductTagService();
            _predefinedProductAttributeValueService = new PredefinedProductAttributeValueService();
            _productAttributeMappingService         = new ProductAttributeMappingService();

            _customerService            = new CustomerService();
            _customerRoleService        = new CustomerRoleService();
            _customerRoleMappingService = new CustomerRolMappingService();
        }
Пример #2
0
 public SpecificationAttributeController()
 {
     _specificationValueService = new SpecificationAttributeValueService();
     _specificationService      = new SpecificationAttributeService();
 }