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