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