/// <summary> /// Get recommendations using the default model /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='itemId'> /// Item id to get recommendations for /// </param> /// <param name='recommendationCount'> /// The number of requested recommendations /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <System.Collections.Generic.IList <RecommendationResult> > GetItemRecommendationsFromDefaultModelAsync(this IModels operations, string itemId, int?recommendationCount = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.GetItemRecommendationsFromDefaultModelWithHttpMessagesAsync(itemId, recommendationCount, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }