Пример #1
0
 public List <string> GetAllUserRole() =>
 User
 .FindAll(ClaimTypes.Role)
 .Select(i => i.Value)
 .ToList();