예제 #1
0
        protected void ModelKey_TextChanged(object sender, EventArgs e)
        {
            recommender = new RecommendationsApiWrapper(ModelKey.Text, BaseUri);
            var modelsInfo = recommender.GetModels("Parts Unlimited Store");

            foreach (var model in modelsInfo.Models)
            {
                ModelSelect.Items.Add(new ListItem(model.Name, model.Id + "_" + model.ActiveBuildId.ToString()));
            }
        }