/// <summary> /// 获取角色权限列表 /// </summary> /// <returns></returns> public async Task <List <RolePermission> > GetRolePermissions() { return(await rolePermissionRepository.GetAllListAsync()); }