public ProductApiController(
     IMapper mapper,
     IRepository <Product> productRepository,
     IMediaService mediaService,
     IProductService productService,
     IRepository <ProductLink> productLinkRepository,
     IRepository <ProductCategory> productCategoryRepository,
     IRepository <ProductOptionValue> productOptionValueRepository,
     IRepository <ProductAttributeValue> productAttributeValueRepository,
     IWorkContext workContext,
     IAuthorizationService authorizationService,
     ISearchProductService searchProductService,
     IStockImportService stockImportService)
 {
     _mapper                          = mapper;
     _productRepository               = productRepository;
     _mediaService                    = mediaService;
     _productService                  = productService;
     _productLinkRepository           = productLinkRepository;
     _productCategoryRepository       = productCategoryRepository;
     _productOptionValueRepository    = productOptionValueRepository;
     _productAttributeValueRepository = productAttributeValueRepository;
     _workContext                     = workContext;
     _authorizationService            = authorizationService;
     _searchProductService            = searchProductService;
     _stockImportService              = stockImportService;
 }
 public AsyncProductImportController(ICategoryService iCategoryService, IProductService iProductService,
                                     ISearchProductService iSearchProductService)
 {
     _iCategoryService      = iCategoryService;
     _iProductService       = iProductService;
     _iSearchProductService = iSearchProductService;
 }
 public SearchController(
     IBrandService iBrandService,
     ICategoryService iCategoryService,
     IProductService iProductService,
     ILimitTimeBuyService iLimitTimeBuyService,
     ISearchProductService iSearchProductService)
 {
     _iBrandService         = iBrandService;
     _iCategoryService      = iCategoryService;
     _iProductService       = iProductService;
     _iLimitTimeBuyService  = iLimitTimeBuyService;
     _iSearchProductService = iSearchProductService;
 }
Esempio n. 4
0
 public ShopController(IShopService iShopService,
                       IProductService iProductService,
                       IOperationLogService iOperationLogService,
                       IRegionService iRegionService,
                       ICategoryService iCategoryService,
                       ISearchProductService iSearchProductService)
 {
     _iShopService          = iShopService;
     _iProductService       = iProductService;
     _iOperationLogService  = iOperationLogService;
     _iRegionService        = iRegionService;
     _iCategoryService      = iCategoryService;
     _iSearchProductService = iSearchProductService;
     //获取当前店铺发布商品的数量
 }
Esempio n. 5
0
 public ProductController(
     IProductService iProductService,
     ISiteSettingService iSiteSettingService,
     IBrandService iBrandService,
     ICategoryService iCategoryService,
     IShopService iShopService,
     ISearchProductService iSearchProductService
     )
 {
     _iSiteSettingService   = iSiteSettingService;
     _iProductService       = iProductService;
     _iBrandService         = iBrandService;
     _iCategoryService      = iCategoryService;
     _iShopService          = iShopService;
     _iSearchProductService = iSearchProductService;
 }
Esempio n. 6
0
 public ShopController(ICouponService iCouponService, IShopService iShopService, IShopCategoryService iShopCategoryService, IVShopService iVShopService
                       , IShopHomeModuleService iShopHomeModuleService, IRegionService iRegionService, INavigationService iNavigationService, ISlideAdsService iSlideAdsService
                       , IProductService iProductService,
                       IMemberService iMemberService,
                       ISearchProductService iSearchProductService
                       )
 {
     _iCouponService         = iCouponService;
     _iShopService           = iShopService;
     _iShopCategoryService   = iShopCategoryService;
     _iVShopService          = iVShopService;
     _iShopHomeModuleService = iShopHomeModuleService;
     _iRegionService         = iRegionService;
     _iNavigationService     = iNavigationService;
     _iSlideAdsService       = iSlideAdsService;
     _iProductService        = iProductService;
     _iMemberService         = iMemberService;
     _iSearchProductService  = iSearchProductService;
 }
Esempio n. 7
0
 public BrandController(IBrandService iBrandService, ISearchProductService iSearchProductService)
 {
     _iBrandService         = iBrandService;
     _iSearchProductService = iSearchProductService;
 }
 public CategoryController(ICategoryService iCategoryService, ITypeService iTypeService, ISearchProductService iSearchProductService)
 {
     _iCategoryService      = iCategoryService;
     _iTypeService          = iTypeService;
     _iSearchProductService = iSearchProductService;
 }