Beispiel #1
0
 public static List <SelectListItem> GetRoles()
 {
     return(userBusinessLogic.Role_GetList().Select(role => new SelectListItem()
     {
         Text = role.Description, Value = role.Id.ToString()
     }).ToList());
 }