public List <CityWithCountryName> AllCities() { GetSearchData = new SearchResultDatadb(); var cities = GetSearchData.AllCities(); // requiredData.countries = GetSearchData.GetAllCounty(); return(cities); }
public List <Common.Models.Country> GetAllCountries() { GetSearchData = new SearchResultDatadb(); requiredData = new SearchRequiredData(); // requiredData.cities = GetSearchData.GetAllCities(); requiredData.countries = GetSearchData.GetAllCounty(); return(requiredData.countries); }
public SearchRequiredData GetAllCountriesAndCity() { GetSearchData = new SearchResultDatadb(); requiredData = new SearchRequiredData(); requiredData.cities = GetSearchData.GetAllCitiesForHotels(); requiredData.countries = GetSearchData.GetAllCounty(); return(requiredData); }