public ProductController(IProductCategoryService productCategoryService, IProductService productService, IConfiguration configuration, IColorDapperService colorDapperService, ISizeDapperService sizesDapperService) { _productCategoryService = productCategoryService; _productService = productService; _configuration = configuration; _colorDapperService = colorDapperService; _sizesDapperService = sizesDapperService; }
public CartController(IProductService productService, ICartService cartService, IColorDapperService colorDapperService, ISizeDapperService sizeDapperService, IBillService billService, IViewRenderService viewRenderService, IConfiguration configuration, IEmailSender emailSender, IHubContext <ChatHub> hubContext, IAppUserService userService) { _productService = productService; _cartService = cartService; _colorDapperService = colorDapperService; _sizeDapperService = sizeDapperService; _billService = billService; _viewRenderService = viewRenderService; _configuration = configuration; _emailSender = emailSender; _hubContext = hubContext; _userService = userService; }