Beispiel #1
0
 //Select Exam Type
 private List <SelectListItem> GetAllExamTypes()
 {
     return(_examManager.GetAllExamTypes()
            .Select(c => new SelectListItem()
     {
         Value = c.Id.ToString(), Text = c.Name
     }).ToList());
 }