public async Task RemoveGroup(RemoveGroupCommand command, CancellationToken cancellationToken)
        {
            if (command == null)
            {
                throw new ArgumentNullException(nameof(command));
            }

            command.EnsureIsValid();

            var group = await authorizationRepository.GetGroupById(command.Id, cancellationToken).ConfigureAwait(false);

            if (group is null)
            {
                throw new BusinessException(Messages.GroupNotFound);
            }

            await authorizationRepository.RemoveGroup(group, cancellationToken).ConfigureAwait(false);
        }