public static ArrayList GetRegionsByHotel(int HotelID) { DropDownListsRepository modelRepo = new DropDownListsRepository(); var regions = modelRepo.GetRegionsByHotelID(HotelID); ArrayList list = new ArrayList(); foreach (var item in regions) { SelectListItem itr = new SelectListItem(); // itr.Text = item.Name; //itr.Value = item.ID.ToString(); //itr.Selected = false; list.Add(item.ID.ToString()); } return new ArrayList(list); }