/// <summary> /// 顯示位置 Index /// </summary> /// <param name="Advertisement_ID"></param> /// <returns></returns> public ActionResult AdsDisplaySetting(long Advertisement_ID, long SiteID) { //產生tree List <AdsDisplayAreaTrees> tree = AdvertisementDAO.GetDisplayAreaTree(Advertisement_ID, SiteID).OrderBy(m => m.AreaID).ThenBy(m => m.Sort).ToList(); ViewBag.Advertisement_ID = Advertisement_ID; return(View(new AdsDisplayAreaSetIndexModel() { tree = tree })); }