/// <summary>
        /// 查询可用的Api资源
        /// </summary>
        /// <returns></returns>
        public virtual async Task <ListResultDto <string> > GetAssignableApiResourcesAsync()
        {
            var resourceNames = await ApiResourceRepository.GetNamesAsync();

            return(new ListResultDto <string>(resourceNames));
        }