예제 #1
0
 public async Task <bool> DeleteUserRolesByRole(
     int roleId,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbRoles.DeleteUserRolesByRole(roleId, cancellationToken));
 }
예제 #2
0
 public async Task<bool> DeleteUserRolesByRole(int roleId)
 {
     return await dbRoles.DeleteUserRolesByRole(roleId);
 }