Пример #1
0
        public Dictionary <string, string> GetStates(int countryId)
        {
            GetStatesCommand getStatesCommand = new GetStatesCommand(new long?((long)countryId));

            getStatesCommand.Execute();
            return(getStatesCommand.CommandResult);
        }
Пример #2
0
        public List <State> GetStates(long?countryId)
        {
            GetStatesCommand getStatesCommand = new GetStatesCommand(countryId);

            getStatesCommand.Execute();
            return(getStatesCommand.CommandResult);
        }
Пример #3
0
        public List <UserManagementSystem.Entities.State> GetAllStates(int countryId)
        {
            GetStatesCommand getStatesCommand = new GetStatesCommand(countryId);

            getStatesCommand.Execute();
            return(getStatesCommand.CommandResult);
        }