public List <SelectListItem> GetOrganizationListItem() { var organizationList = trainerManager.GetOrganization(); List <SelectListItem> organizationStItems = new List <SelectListItem>(); foreach (var organization in organizationList) { var osli = new SelectListItem(); osli.Text = organization.Name; osli.Value = organization.Id.ToString(); organizationStItems.Add(osli); } return(organizationStItems); }