Exemplo n.º 1
0
 //Select DOrganization
 private List <SelectListItem> GetOrganizationList()
 {
     return(_examManager.GetAllOrganizations()
            .Select(c => new SelectListItem()
     {
         Value = c.Id.ToString(), Text = c.Name
     }).ToList());
 }