Пример #1
0
        public async Task <IdentityResult> CreateAsync(Role role, CancellationToken cancellationToken)
        {
            await _roleRepository.AddRoleAsync(role);

            return(IdentityResult.Success);
        }