Exemple #1
0
 public async Task <PlanetRole> GetRole(PlanetRole Role)
 {
     return(Roles.FirstOrDefault(x => x == Role));
 }
Exemple #2
0
 public bool HasRole(PlanetRole Role)
 {
     return(Roles.Any(x => x == Role));
 }