void ILotteryProcesses.LoadLotteryList() { CustomBasicList <int> thisList = Enumerable.Range(1, 6).ToCustomBasicList(); thisList.RemoveAllOnly(yy => _gameContainer.PlayerList.Any(Items => Items.ChoseNumber == yy)); thisList.InsertBeginning(0); CustomBasicList <string> tempList = thisList.CastIntegerListToStringList(); _model.AddPopupLists(tempList); }
void IChoosePlayerProcesses.LoadPlayerList() { CustomBasicList <string> tempList = _gameContainer.PlayerList.Where(items => items.Id != _gameContainer.WhoTurn).Select(x => x.NickName).ToCustomBasicList(); _model.AddPopupLists(tempList); }