Пример #1
0
        public string TopMenu()
        {
            var menu = new DataTree <WebManageMenus>(menuRepository.GetModel(i => i.IsDisplayMenuTree && MenuIdArr.Contains(i.Id) && i.DataStatus == Domain.Status.Normal)
                                                     .OrderBy(i => i.SortNumber)
                                                     .ToList());

            return(menu.CreateTreeUL(menuRepository.Find(i => i.Level == 0)));
        }