gov.va.medora.mdws.SitesLib.getVhaByStates C# (CSharp) Method

getVhaByStates() public method

public getVhaByStates ( ) : StateArray
return gov.va.medora.mdws.dto.StateArray
        public StateArray getVhaByStates()
        {
            if (mySession.SiteTable.States == null || mySession.SiteTable.States.Count == 0)
            {
                string filepath = mySession.MdwsConfiguration.ResourcesPath + MdwsConstants.STATES_FILE_NAME;
                mySession.SiteTable.parseStateCityFile(filepath);
            }
            return new StateArray(mySession.SiteTable.States);
        }