Ejemplo n.º 1
0
        public static string InterestPointList()
        {
            var m = new CodeValueModel();
            var q = from o in m.InterestPoints()
                    select new { value = o.Id, text = o.Value };

            return(JsonConvert.SerializeObject(q.ToArray()));
        }
Ejemplo n.º 2
0
 public static IEnumerable <SelectListItem> InterestPoints()
 {
     return(CodeValueModel.ConvertToSelect(cv.InterestPoints(), "Id"));
 }