public void AddAccount(UserId userId, AccountId accountId) { if (!UserAccounts.Any(x => x.UserId == userId)) { throw new InvalidOperationException("User must have an account in for this clearance"); } Apply(new V1.AccountAdded(Id, userId.Value, accountId.Value)); }