public Task <Player[]> GetSomething(int?minScore, Item.ItemType?itemType)
 {
     if (minScore != null)
     {
         return(_processor.MoreThanXScore((int)minScore));
     }
     else if (itemType != null)
     {
         return(_processor.GetPlayersWithItem((Item.ItemType)itemType));
     }
     return(_processor.GetAll());
 }
Beispiel #2
0
 public Task <Player[]> GetAll()
 {
     return(_processor.GetAll());
 }