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); }
public async void llenarEntidadesNacimiento() { ListEntidadNacimiento = await StaticSourcesViewModel.CargarDatos <ObservableCollection <ENTIDAD> >(() => new ObservableCollection <ENTIDAD>((new cEntidad()).ObtenerTodos().OrderBy(o => o.DESCR))); }
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))); }
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))); }