Beispiel #1
0
        public async Task <IdentityResult> CreateAsync(AppRole role, CancellationToken cancellationToken = default)
        {
            ThrowIf.Null(role, nameof(role));
            await _roleService.CreateRoleAsync(role, cancellationToken).ConfigureAwait(false);

            return(IdentityResult.Success);
        }