private void GetPlayersToWatch(object sender, PlayersToWatchEventArgs e) { List<IPlayer> players = new GetPlayers().GetPlayersToWatch(_Players, e.ShowPicked); _View.SetPlayers(players); }
private void GetPlayersToWatch(object sender, PlayersToWatchEventArgs e) { List<IPlayer> players = e.ShowDrafted ? _players.Where(p => p.IsWatching).ToList() : _players.Where(p => p.IsWatching && !p.IsDrafted).ToList(); _view.SetPlayers(players); }