public SegmentService(
     IGenericAttributeService genericAttributeService,
     IStoreContext storeContext,
     IHttpContextAccessor httpContextAccessor,
     CurrencySettings currencySettings,
     SegmentAnalyticsSettings segmentAnalyticsSettings,
     ICategoryService categoryService,
     ICurrencyService currencyService,
     ILogger logger,
     IOrderService orderService,
     IProductService productService,
     ISettingService settingService,
     IWorkContext workContext, IManufacturerService manufacturerService)
 {
     _genericAttributeService  = genericAttributeService;
     _storeContext             = storeContext;
     _httpContextAccessor      = httpContextAccessor;
     _currencySettings         = currencySettings;
     _segmentAnalyticsSettings = segmentAnalyticsSettings;
     _categoryService          = categoryService;
     _currencyService          = currencyService;
     _logger              = logger;
     _orderService        = orderService;
     _productService      = productService;
     _settingService      = settingService;
     _workContext         = workContext;
     _manufacturerService = manufacturerService;
 }
 public WidgetsSegmentAnalyticsViewComponent(SegmentAnalyticsSettings segmentAnalyticsSettings)
 {
     _segmentAnalyticsSettings = segmentAnalyticsSettings;
 }