Exemplo n.º 1
0
        /// <summary>
        /// 获取列表信息
        /// </summary>
        /// <param name="navId"></param>
        private async Task <List <PageContentDto> > GetPageContentsAsync(int navId)
        {
            var pageContentList = await Task.Run(() => pageContentRepository.GetPageContentAsync(navId));

            return(ModelConvertUtil <PageContentInfo, PageContentDto> .ModelCopy(pageContentList));
        }