public static List <CommonModel> GetNames(string type) { List <CommonModel> ret = new List <CommonModel>(); JavDataBaseManager.GetCommonMode(type).ForEach(x => ret.Add(new CommonModel { Name = x.Name, Type = type, Url = "http://www.cainqs.com:8087/avapi/getav?" + type + "=" + x.Name })); return(ret); }