Example #1
0
        IRecommendations ITrackedRecommendationService.GetRecommendationsForCart(string customerId, IEnumerable <string> productCodes, int maxCount)
        {
            IRecommendations recommendations = new Recommendations(Constants.Recommenders.CartItemsRecommender,
                                                                   GetRecommendationsForCart(customerId, productCodes, maxCount));

            return(recommendations);
        }
Example #2
0
        IRecommendations ITrackedRecommendationService.GetRecommendationsForProduct(string productCode, int maxCount)
        {
            Recommendations recommendations = new Recommendations(Constants.Recommenders.ItemItemClickBuy,
                                                                  GetRecommendationsForProduct(productCode, maxCount));

            return(recommendations);
        }
Example #3
0
        IRecommendations ITrackedRecommendationService.GetRecommendationsForCustomerByCategory(string customerId, List <string> categories, int maxCount)
        {
            IRecommendations recommendations = new Recommendations(Constants.Recommenders.UserItemCategoryClickBuy,
                                                                   GetRecommendationsForCustomerByCategory(customerId, categories, maxCount));

            return(recommendations);
        }
Example #4
0
        IRecommendations ITrackedRecommendationService.GetRecommendationsForCustomer(string customerId, int maxCount)
        {
            IRecommendations recommendations = new Recommendations(Constants.Recommenders.UserItemClickBuy, GetRecommendationsForCustomer(customerId, maxCount));

            return(recommendations);
        }