예제 #1
0
        private string GetLatestViewableElectionKey()
        {
            if (!string.IsNullOrEmpty(GetQueryParm("Office")))
            {
                return
                    (ElectionsOffices.GetLatestViewableElectionKeyStateByOfficeKey(
                         GetQueryParm("Office"), string.Empty));
            }

            return
                (Elections.GetLatestViewableElectionKeyByStateCode(
                     UrlManager.FindStateCode(), String.Empty));
        }