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