Exemple #1
0
        public void Apply(InvitationAdded @event)
        {
            if (this.Invitations == null)
            {
                this.Invitations = new Invitations();
            }

            this.Invitations.Items.Add(new Invitation
            {
                Id    = @event.InvitationId,
                Email = @event.Email
            });
        }
 protected virtual void OnInvitationAddFailed(AddInvitationArgs e) => InvitationAdded?.Invoke(this, e);