public ProductController( IMapper mapper, ICategoryService categoryService, IProductService productService, ISupplierService supplierService, IPriceDetailsService priceDetailsService, IImageProductService imageProductService, IAdvertisementService advertisementService, ISubProductService subProductService, IOrderService orderService, IOrderSubProductService orderSubProductService, IAccountService accountService) { this.Mapper = mapper; this.SupplierService = supplierService; this.PriceDetailsService = priceDetailsService; this.ImageProductService = imageProductService; this.CategoryService = categoryService; this.ProductService = productService; this.AdvertisementService = advertisementService; this.SubProductService = subProductService; this.OrderService = orderService; this.OrderSubProductService = orderSubProductService; this.AccountService = accountService; }
public ImageProductController(IProductService productService, ICategoryService categoryService, IImageProductService imageProductServive, ILanguageService languageService, IConfiguration configuration) : base(languageService, categoryService, configuration) { _productServive = productService; _imageProductServive = imageProductServive; }
public ProductController(IProductService productService, ICategoryService categoryService, ILanguageService languageService, IImageProductService imageProductService, IReviewService reviewService, IEmailService emailService, IConfiguration configuration) : base(configuration) { _productService = productService; _categoryService = categoryService; _languageService = languageService; _imageProductService = imageProductService; _reviewService = reviewService; _emailService = emailService; }
public ProductController(IUnitOfWork unitOfWork, IProductService productService, ICategoryService categoryService, ICompanyService companyService, IImageProductService imageProductService, ILabelService labelService, IFavoriteUserService favoriteService) { this._unitOfWork = unitOfWork; this._productService = productService; this._categoryService = categoryService; this._companyService = companyService; this._imageProductService = imageProductService; this._labelService = labelService; this._favoriteService = favoriteService; }