public JsonResult List(string Prefix) { var prodlist = api.GetSimilarNames(Prefix) .Select(s => new { Name = s }); return(Json(prodlist)); }
public JsonResult List(string Prefix) { var prodlist = api.GetSimilarNames(Prefix) .Select(s => new { Name = s }); return(Json(prodlist)); }