예제 #1
0
 public static bool IsUpperStudent(this CustomUser u)
 {
     return(u.IsStudent() ? u.Roles.Count > 1 : u.Roles.Count > 0);
 }