Пример #1
0
 public IEnumerable <Celeb> getCelebsInHat()
 {
     return(Celebs.Where(c => c.State == CelebState.IN_HAT));
 }
Пример #2
0
 public IEnumerable <Celeb> getGuessedCelebs()
 {
     return(Celebs.Where(c => c.State == CelebState.GUESSED));
 }
Пример #3
0
 public Celeb GetCelebById(int id)
 {
     return(Celebs.Where(c => c.Id == id).Single());
 }