Exemplo n.º 1
0
 //Display State
 public async Task <List <StateModel> > StateList(int cnid)
 {
     using (countryRepository = new Country_State_CityRepository())
     {
         return(await countryRepository.StateList(cnid));
     }
 }
Exemplo n.º 2
0
 //Display City
 public async Task <List <CityModel> > CityList(int stid)
 {
     using (countryRepository = new Country_State_CityRepository())
     {
         return(await countryRepository.CityList(stid));
     }
 }
Exemplo n.º 3
0
 //Display Country
 public async Task <List <CountryModel> > CountryList()
 {
     using (countryRepository = new Country_State_CityRepository())
     {
         return(await countryRepository.CountryList());
     }
 }