public async Task <IdentityResult> UpdateAsync(AppRole role, CancellationToken cancellationToken = default) { ThrowIf.Null(role, nameof(role)); await _roleService.UpdateRoleAsync(role, cancellationToken).ConfigureAwait(false); return(IdentityResult.Success); }