Esempio n. 1
0
        /// <summary>
        /// 获取角色分页
        /// </summary>
        /// <param name="command"></param>
        /// <param name="cancellationToken"></param>
        /// <returns></returns>
        public async Task <Result <PagedModel <AdminRoleDto> > > GetRolePagedAsync(AdminRoleQueryPagedCommand command, CancellationToken cancellationToken = default)
        {
            var res = await adminRoleService.GetPageListAsync(command, cancellationToken);

            return(RestFull.Success(data: res));
        }