示例#1
0
 public List <UtilityModel <uint> > GetReminderTypes()
 {
     using (var db = DB.GetContext())
     {
         return(ReminderRepository.GetReminderTypes(db, isLicense: true)
                .Select(r => new UtilityModel <uint>(r.ReminderID, r.ReminderName))
                .ToList());
     }
 }