Exemplo n.º 1
0
        public GetRegiones(string Codigo)
        {
            string[]   tipos   = new string[] { "regiones" };
            string[]   codigos = new string[] { Codigo };
            GetFromAPI get     = new GetFromAPI(tipos, codigos);

            Regiones = get.Lista;
        }
Exemplo n.º 2
0
        public GetComunas(string CodRegion, string CodComuna)
        {
            string[]   tipos   = new string[] { "regiones", "comunas" };
            string[]   codigos = new string[] { CodRegion, CodComuna };
            GetFromAPI get     = new GetFromAPI(tipos, codigos);

            Comunas = get.Lista;
        }
Exemplo n.º 3
0
        public GetRegiones()
        {
            GetFromAPI get = new GetFromAPI("regiones");

            Regiones = get.Lista;
        }