public int DeductTokens(Participant participant, int num) { GameToken selected = Tokens.First(x => x.Id == participant.Id); if (selected.Amount - num <= 0) { selected.Amount = 0; return(0); } selected.Amount -= num; return(selected.Amount); }