示例#1
0
 public AdminMenuController() : base()
 {
     _menuService     = ServiceFactory.Get <IMenuService>();
     _categoryService = ServiceFactory.Get <ICategoryService>();
     _topicService    = ServiceFactory.Get <ITopicService>();
     _productSevice   = ServiceFactory.Get <IProductSevice>();
 }
示例#2
0
 public CartController(IShoppingCartService shoppingCartService, IShoppingCartProductService shoppingCartProductService, IProductSevice productSevice, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ISettingsService settingsService, ICacheService cacheService, ILocalizationService localizationService)
     : base(loggingService, unitOfWorkManager, membershipService, settingsService, cacheService, localizationService)
 {
     _productSevice              = productSevice;
     _shoppingCartService        = shoppingCartService;
     _shoppingCartProductService = shoppingCartProductService;
 }
 public ProductController(IProductSevice productService,
                          IProductDetailService productDetailService,
                          IProductSizeService productSizeService,
                          IProductImageService productImageService,
                          IColorService colorService,
                          IRateService rateService,
                          IReviewService reviewService,
                          IUserService userService,
                          IOrderService orderService,
                          IOrderDetailService orderDetailService,
                          ICategoryService categoryService, IMapper mapper)
 {
     _productService       = productService;
     _categoryService      = categoryService;
     _productDetailService = productDetailService;
     _productSizeService   = productSizeService;
     _productImageService  = productImageService;
     _colorService         = colorService;
     _rateService          = rateService;
     _reviewService        = reviewService;
     _userService          = userService;
     _orderService         = orderService;
     _orderDetailService   = orderDetailService;
     _mapper = mapper;
 }
示例#4
0
 public AdminProductController(IProductPostSevice productPostSevice, ICategoryService categoryService, IProductSevice productSevice, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ISettingsService settingsService, ILocalizationService localizationService)
     : base(loggingService, unitOfWorkManager, membershipService, settingsService, localizationService)
 {
     _categoryService   = categoryService;
     _productSevice     = productSevice;
     _productPostSevice = productPostSevice;
 }
示例#5
0
 public CategoryController(IProductSevice productSevice, ITopicService topicService, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ISettingsService settingsService, ICacheService cacheService, ILocalizationService localizationService, ICategoryService categoryService)
     : base(loggingService, unitOfWorkManager, membershipService, settingsService, cacheService, localizationService)
 {
     _categoryService = categoryService;
     _topicServic     = topicService;
     _productSevice   = productSevice;
 }
 public ProductController(IProductSevice productSevice,
                          ICategoryService categoryService,
                          ISupplierService supplierService,
                          IManufactureService manufactureService)
 {
     _productSevice      = productSevice;
     _categoryService    = categoryService;
     _supplierService    = supplierService;
     _manufactureService = manufactureService;
 }
示例#7
0
 public CartController() : base()
 {
     _productSevice = ServiceFactory.Get <IProductSevice>();
     _shoppingCartProductService = ServiceFactory.Get <IShoppingCartProductService>();
     _shoppingCartService        = ServiceFactory.Get <IShoppingCartService>();
 }
示例#8
0
 public PluginController() : base()
 {
     _productSevice = ServiceFactory.Get <IProductSevice>();
 }
示例#9
0
 public AdminProductController() : base()
 {
     _categoryService   = ServiceFactory.Get <ICategoryService>();
     _productSevice     = ServiceFactory.Get <IProductSevice>();
     _productPostSevice = ServiceFactory.Get <IProductPostSevice>();
 }
 public ProductController(IProductSevice productService, IMapper mapper)
 {
     _productService = productService;
     _mapper         = mapper;
 }
示例#11
0
 public CategoryController() : base()
 {
     _categoryService = ServiceFactory.Get <ICategoryService>();
     _topicServic     = ServiceFactory.Get <ITopicService>();
     _productSevice   = ServiceFactory.Get <IProductSevice>();
 }