public void DoInviteUserByEmailRequested(object sender, InviteByEmailEventArgs eventArgs) { if (InviteUserByEmailRequested != null) { InviteUserByEmailRequested.Invoke(sender, eventArgs); } }
private void MainEventBusOnInviteUserByEmailRequested(object sender, InviteByEmailEventArgs inviteByEmailEventArgs) { _mailSender.SendInvitation(inviteByEmailEventArgs.Email); }