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); }
public List <betSnapshotTypeBetSnapshotItem> GetBet(int BetID) => CurrentBets.Where(x => x.selectionReference.selectionId == BetID).ToList();
public List <GameHands> GetHandWheretBet() => CurrentBets.Select(x => GetOddsByName(x.selectionReference.selectionId)).ToList();