示例#1
0
        /// <summary>
        /// 获取文档列表。
        /// </summary>
        /// <param name="appid">应用程序Id。</param>
        public async Task <IActionResult> OnGet(Guid appid)
        {
            Application = await _applicationManager.FindAsync(appid);

            if (Application == null)
            {
                return(NotFound());
            }
            Services = await _applicationManager.LoadApplicationServicesAsync(appid);

            Document = _serviceManager.GetGroupApiDescriptors();
            return(Page());
        }
示例#2
0
 /// <summary>
 /// 获取文档列表。
 /// </summary>
 public void OnGet()
 {
     Document = _serviceManager.GetGroupApiDescriptors();
 }