public async Task HandleAsync(ActivateCommand command) { var verificationLink = await _activationLinkRepository.GetAsync(command.UserId) ?? throw new InvalidVerificationTokenException(); var user = await _userRepository.GetAsync((UserId)verificationLink.UserId) ?? throw new InvalidVerificationTokenException(); await user.Activate(verificationLink, command.Token, Nickname.Create(command.Nickname), _uniqueNicknameRule); }