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