Example #1
0
        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);
        }