Пример #1
0
        public List <GameHands> GetHandWhereNotBet()
        {
            var IdBet             = CurrentBets.Select(x => x.selectionReference.selectionId);
            var IdPlayer          = GetOdds.Select(x => x.PlayerId);
            List <GameHands> intt = new List <GameHands>();

            foreach (var item in IdPlayer)
            {
                if (!IdBet.Contains(item))
                {
                    intt.Add(GetOddsByName(item));
                }
            }

            return(intt);
        }
Пример #2
0
 public List <betSnapshotTypeBetSnapshotItem> GetBet(int BetID) => CurrentBets.Where(x => x.selectionReference.selectionId == BetID).ToList();
Пример #3
0
 public List <GameHands> GetHandWheretBet() => CurrentBets.Select(x => GetOddsByName(x.selectionReference.selectionId)).ToList();