public void GetData(string partyKey, string electionKey) { var electionKeys = new List <string>(new[] { electionKey }); var altElectionKey = Elections.GetElectionKeyToInclude(electionKey); if (!string.IsNullOrWhiteSpace(altElectionKey)) { electionKeys.Add(altElectionKey); } DataTable = ElectionsPoliticians.GetPartyCandidatesInElections(electionKeys, partyKey); }