示例#1
0
 public static List <UserMenuInfo> GetAllUserMenuInfoList()
 {
     return(UserMenuManagerCache.GetAllUserMenus());
 }
示例#2
0
        public static UserMenuInfo GetUserMenuInfo(int menuId)
        {
            var list = UserMenuManagerCache.GetAllUserMenus();

            return(list.FirstOrDefault(menu => menu.Id == menuId));
        }