Пример #1
0
        public JsonResult List(string Prefix)
        {
            var prodlist = api.GetSimilarNames(Prefix)
                           .Select(s => new { Name = s });

            return(Json(prodlist));
        }