public MiscHomepageProductIndexController(ISettingService settingService, HomepageProductIndexSettings ProductIndexSettings, ILocalizationService localizationService) { this._settingService = settingService; this._productIndexSettings = ProductIndexSettings; this._localizationService = localizationService; }
public HomepageProductIndexService(IProductService productService, IRepository <Product> productRepository, HomepageProductIndexSettings productIndexSettings) { this._productService = productService; this._productRepository = productRepository; this._productIndexSettings = productIndexSettings; this._random = new Random(); }