Beispiel #1
0
 private static List <Guid> GetMatchEventsIds(Player player, MatchEvents type)
 {
     return(player.MatchEvents
            .Select(mId => MatchEventRepository.GetInstance().FindById(mId))
            .Where(matchEvent => matchEvent.GetType() == type)
            .Select(mEvent => mEvent.Id).ToList());
 }
Beispiel #2
0
 public MatchEventService()
 {
     _matchEventRepository = MatchEventRepository.GetInstance();
 }