public Task Handle(AccountCreated notification, CancellationToken cancellationToken) => _notificator.SendEmail( "You account has been created", GetBody(notification), notification.Identity.Email);
public Task Handle(AccountLocked notification, CancellationToken cancellationToken) => _notificator.SendEmail( "Your account has been lock out", "Your account has been locked out for security reasons.", notification.Identity.Email);
public Task Handle(AccountConfirmed notification, CancellationToken cancellationToken) => _notificator.SendEmail( "Your account has been confirmed", "Your account is enabled and ready to be used.", notification.Identity.Email);