예제 #1
0
        public async void llenarColoniasVisitante(short?municipio, short?entidad)
        {
            var colonias = await StaticSourcesViewModel.CargarDatos <List <COLONIA> >(() => { return((new cColonia()).ObtenerTodos(string.Empty, municipio, entidad).OrderBy(o => o.DESCR).ToList()); });

            ListColoniaVisitante = new ObservableCollection <COLONIA>(colonias);
        }
예제 #2
0
 public async void llenarEntidadesNacimiento()
 {
     ListEntidadNacimiento = await StaticSourcesViewModel.CargarDatos <ObservableCollection <ENTIDAD> >(() =>
                                                                                                        new ObservableCollection <ENTIDAD>((new cEntidad()).ObtenerTodos().OrderBy(o => o.DESCR)));
 }
예제 #3
0
 public async void llenarMunicipiosVisitante(short?entidad)
 {
     ListMunicipioVisitante = await StaticSourcesViewModel.CargarDatos <ObservableCollection <MUNICIPIO> >(() =>
                                                                                                           new ObservableCollection <MUNICIPIO>((new cMunicipio()).ObtenerTodos(string.Empty, entidad).OrderBy(o => o.MUNICIPIO1)));
 }
예제 #4
0
 public async void llenarColonias(short?municipio, short?entidad)
 {
     ListColonia = await StaticSourcesViewModel.CargarDatos <ObservableCollection <COLONIA> >(() =>
                                                                                              new ObservableCollection <COLONIA>((new cColonia()).ObtenerTodos(string.Empty, municipio, entidad).OrderBy(o => o.DESCR)));
 }