public RecommendationsController(IProductsRepository productsRepository, IRecommendationEngine recommendationEngine, IWebsiteOptions websiteOptions) { _recommendation = recommendationEngine; _option = websiteOptions; this.productsRepository = productsRepository; }
public RecommendationsComponent(IWebsiteOptions options) { _options = options; }
public RecommendationsController(IPartsUnlimitedContext context, IRecommendationEngine recommendationEngine, IWebsiteOptions websiteOptions) { _db = context; _recommendation = recommendationEngine; _option = websiteOptions; }