Exemple #1
0
 public SelectList CampusList()
 {
     var cv = new CodeValueModel();
     return new SelectList(cv.AllCampuses0(), "Id", "Value");
 }
Exemple #2
0
 public static IEnumerable<SelectListItem> Campuses()
 {
     var cv = new CodeValueModel();
     return CodeValueModel.ConvertToSelect(cv.AllCampuses0(), "Id");
 }