Пример #1
0
        public Menu GetMenuForCodeGeneration(Guid applicationId)
        {
            return(MenuDao.FindByApplicationId(applicationId));

            /*
             * if (menu != null)
             * {
             *  InitializeMenuItemTree(menu.TopMenuItem);
             * }
             *
             * return menu;
             */
        }
Пример #2
0
 public Menu GetMenuByApplicationId(Guid applicationId)
 {
     return(MenuDao.FindByApplicationId(applicationId));
 }