示例#1
0
        private async Task <IHttpActionResult> Handle(UserInvitedEvent @event)
        {
            string       recipient     = @event.Email;
            const string Subject       = "Välkommen till Snittlistan!";
            string       activationUri = @event.ActivationUri;

            await Emails.InviteUser(recipient, Subject, activationUri);

            return(Ok());
        }