public Menu GetMenuForCodeGeneration(Guid applicationId) { return(MenuDao.FindByApplicationId(applicationId)); /* * if (menu != null) * { * InitializeMenuItemTree(menu.TopMenuItem); * } * * return menu; */ }
public Menu GetMenuByApplicationId(Guid applicationId) { return(MenuDao.FindByApplicationId(applicationId)); }