示例#1
0
 public Task <SecurityGetRoleResponse> GetRoleAsync(SecurityGetRoleRequest request, CancellationToken cancellationToken = default)
 {
     request.BeforeRequest();
     return(DoRequestAsync <SecurityGetRoleRequest, SecurityGetRoleResponse>(request, cancellationToken));
 }
示例#2
0
 public SecurityGetRoleResponse GetRole(SecurityGetRoleRequest request)
 {
     request.BeforeRequest();
     return(DoRequest <SecurityGetRoleRequest, SecurityGetRoleResponse>(request));
 }