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;
 }
示例#2
0
 public ProductDetailController(ICategoryService categoryService, IProductService productService
                                , IManufacturerService manufacturerService, IProductSizeService productSizeService, IProductImageService productImageService)
 {
     _categoryService     = categoryService;
     _productService      = productService;
     _manufacturerService = manufacturerService;
     _productSizeService  = productSizeService;
     _productImageService = productImageService;
 }
示例#3
0
 public ProductsController(
     IProductsService productsService,
     IRatingsService ratingsService,
     IProductSizeService productSizeService,
     IMapper mapper)
 {
     this.productsService    = productsService;
     this.ratingsService     = ratingsService;
     this.productSizeService = productSizeService;
     this.mapper             = mapper;
 }
 public ProductsController(
     IMapper mapper,
     IGoogleCloudStorage googleCloudStorage,
     ICategoriesService categoriesService,
     IProductsService productsService,
     IRatingsService ratingsService,
     IProductSizeService productSizeService)
 {
     this.mapper             = mapper;
     this.googleCloudStorage = googleCloudStorage;
     this.categoriesService  = categoriesService;
     this.productsService    = productsService;
     this.ratingsService     = ratingsService;
     this.productSizeService = productSizeService;
 }
示例#5
0
 public CartController(
     IProductsService productsService,
     IAddressesService addressesService,
     IProductSizeService productSizeService,
     ICouponCodeService couponCodeService,
     UserManager <ApplicationUser> userManager,
     ISessionService sessionService,
     IMapper mapper)
 {
     this.productsService    = productsService;
     this.addressesService   = addressesService;
     this.productSizeService = productSizeService;
     this.couponCodeService  = couponCodeService;
     this.userManager        = userManager;
     this.sessionService     = sessionService;
     this.mapper             = mapper;
 }
示例#6
0
 public ProductController(IErrorService errorService, IProductService productService,
                          IProductMaterialService productMaterialService, IMaterialService materialService,
                          IProductColorService productColorService, IColorService colorService,
                          IProductSizeService productSizeService, ISizeService sizeService,
                          IProductHeightService productHeightService, IHeightService heightService,
                          IProductTypeService productTypeService, ITypeService typeService,
                          IProductHeelService productHeelService, IHeelService heelService)
     : base(errorService)
 {
     this._productHeelService     = productHeelService;
     this._heelService            = heelService;
     this._productTypeService     = productTypeService;
     this._typeService            = typeService;
     this._productHeightService   = productHeightService;
     this._heightService          = heightService;
     this._productSizeService     = productSizeService;
     this._sizeService            = sizeService;
     this._productService         = productService;
     this._materialService        = materialService;
     this._productColorService    = productColorService;
     this._colorService           = colorService;
     this._productMaterialService = productMaterialService;
 }
 public OrdersController(
     IEmailSender emailSender,
     UserManager <ApplicationUser> userManager,
     IMapper mapper,
     IAddressesService addressesService,
     IOrderStatusService orderStatusService,
     IOrdersService ordersService,
     ISessionService sessionService,
     IProductsService productsService,
     IProductSizeService productSizeService,
     ICouponCodeService couponCodeService)
 {
     this.emailSender        = emailSender;
     this.userManager        = userManager;
     this.mapper             = mapper;
     this.addressesService   = addressesService;
     this.orderStatusService = orderStatusService;
     this.ordersService      = ordersService;
     this.sessionService     = sessionService;
     this.productsService    = productsService;
     this.productSizeService = productSizeService;
     this.couponCodeService  = couponCodeService;
 }
 public SizeController(IProductSizeService SizeService)
 {
     this.SizeService = SizeService;
 }
示例#9
0
 public ProductSizesController(IProductSizeService productSizeService, IMapper mapper)
 {
     _productSizeService = productSizeService;
     _mapper             = mapper;
 }
 public ProductSizeController(IProductSizeService ProductSizeService, IUnitOfWork unitOfWork)
 {
     _ProductSizeService = ProductSizeService;
     _unitOfWork         = unitOfWork;
 }
示例#11
0
 public ProductSizeController(IProductSizeService productSizeService)
 {
     _productSizeService = productSizeService;
 }