private static void BindParentRoot(ListControl dropdownlist, ITourDao tourDao) { IList list = tourDao.LocationGetRoot(); dropdownlist.DataSource = list; dropdownlist.DataBind(); dropdownlist.SelectedIndex = list.Count - 1; }
public IList LocationGetAllByLevel(int level) { return(_tourDao.LocationGetRoot()); }