//
        // GET: /AdminMusicCategory/
        public ActionResult Index(int id, int? pageNo, SearchMusicCondition smc)
        {
            int totalSize;
            if (smc.IsGroup)
            {
                ViewData["List"] = BizMusicGroup.List(id, pageNo ?? 0, PAGE_SIZE, out totalSize, smc);
            }
            else
            {
                ViewData["List"] = BizMusic.ListMusicByCategoryID(id, pageNo ?? 0, PAGE_SIZE, out totalSize, smc);

            }
            var category = BizMusicCategory.Get(id); ;
            ViewData["Category"] = category;
            ViewData["PaginateHelper"] = PaginateHelper.ConstructPaginate(totalSize, pageNo ?? 0, PAGE_SIZE, "/AdminStar/Index/" + id + "/?", smc);
            ViewData["IsGroup"] = smc.IsGroup;

            ViewData["SourceFromList"] = GetSourceFromList();
            var stars = BizStar.List<string>(x => x.StarName, false);
            SelectControl characters = new SelectControl()
            {
                ButtonValue = "��ѡ����ֻ��ֶ�",
                ControlType = HtmlControlType.checkbox,
                Text = "StarName",
                Value = "StarID",
                EnumerableData = stars,
                Title = "��ѡ����ֻ��ֶ�",
                CallbackScriptFunction = "setStar",
                PageControlID = 1
            };
            ViewData["Star"] = characters;

            return View();
        }
 public ActionResult Index(int id, SearchMusicCondition smc)
 {
     var group = BizMusicGroup.Get(id);
     group.MusicCategory = BizMusicCategory.Get(group.CategoryID);
     ViewData["MusicGroup"] = group;
     var musicList = BizMusic.ListMusicByGroupID(id, smc);
     return View(musicList);
 }