Exemple #1
0
 public ProductController(IProductService service, IProductCategoryService productCategoryService, IAuthorizer authorizer, IProductCategoryTagService productCategoryTagService)
     : base(service)
 {
     _productCategoryService    = productCategoryService;
     _productCategoryTagService = productCategoryTagService;
     _authorizer = authorizer;
 }
Exemple #2
0
 public ProductCategoryService(IProductService productService,
                               IApplicationContext applicationContext,
                               IProductCategoryTagService productCategoryTagService,
                               ILocalize localize,
                               CMSDbContext dbContext)
     : base(applicationContext, dbContext)
 {
     _productService            = productService;
     _productCategoryTagService = productCategoryTagService;
     _localize = localize;
 }
Exemple #3
0
 public ProductService(IApplicationContext applicationContext,
                       IProductTagService productTagService,
                       IProductCategoryTagService productCategoryTagService,
                       IProductImageService productImageService,
                       ILocalize localize,
                       IEventManager eventManager,
                       CMSDbContext dbContext) : base(applicationContext, dbContext)
 {
     _productTagService         = productTagService;
     _productCategoryTagService = productCategoryTagService;
     _productImageService       = productImageService;
     _localize     = localize;
     _eventManager = eventManager;
 }
Exemple #4
0
 public ProductService(IApplicationContext applicationContext, IProductTagService productTagService, IProductCategoryTagService productCategoryTagService, IProductImageService productImageService, CMSDbContext dbContext) : base(applicationContext, dbContext)
 {
     _productTagService         = productTagService;
     _productCategoryTagService = productCategoryTagService;
     _productImageService       = productImageService;
 }