public List<CodeValueItem> GenderCodesWithUnspecified()
 {
     var u = new CodeValueItem {Id = 99, Code = "99", Value = "(not specified)"};
     var list = GenderCodes().ToList();
     list.Insert(0, u);
     return list;
 }
Exemple #2
0
 private static int? CviOrNull(CodeValueItem cvi)
 {
     if (cvi == null)
         return null;
     return cvi.Id;
 }