public GenerateRecommendation ( ) : IEnumerable |
||
return | IEnumerable |
public IEnumerable <BookType> GetSuggestionsForUser(long userID, long categoryID) { IRecommendationEngine engine = new RecommendationForUser(ServiceLocator, userID, categoryID); engine.OrderInformationsService = this.OrderInformationService; engine.BooksInformationService = this.BooksInformationService; IEnumerable <long> resultList = engine.GenerateRecommendation(); return(toIEnumerableBookType(resultList)); }
public IEnumerable<BookType> GetSuggestionsForUser(long userID) { IRecommendationEngine engine = new RecommendationForUser(ServiceLocator, userID, null); engine.OrderInformationsService = this.OrderInformationService; engine.BooksInformationService = this.BooksInformationService; IEnumerable<long> resultList = engine.GenerateRecommendation(); return toIEnumerableBookType(resultList); }