示例#1
0
        /// <summary>
        /// 异步获取查询菜单
        /// </summary>
        /// <returns></returns>
        public async static Task <QueryMenus> GetAsync()
        {
            var query = new QueryMenus();
            var menus = await query.RequestAsModelAsync <QueryMenus>();

            return(menus);
        }
示例#2
0
        /// <summary>
        /// 获取查询菜单
        /// </summary>
        /// <returns></returns>
        public static QueryMenus Get()
        {
            var query = new QueryMenus();
            var menus = query.RequestAsModel <QueryMenus>();

            return(menus);
        }