// Create a method which creates a list of SelectListItems for a dropdown private SelectList GetCountries() { // Populate the country search list IList <Country> countries = cityDAO.GetCountries(); SelectList countryList = new SelectList(countries, "Code", "Name"); return(countryList); }