public static void Send(WebsiteError error) { var registerNotification = new NotificationHandler(); var emailNotification = new TelegramNotification(error); registerNotification.RegisterNotificationDelegateInstance += emailNotification.OnNotificationSent; registerNotification.RegisterNotificationHandler(); }
// public TelegramNotification(WebsiteError error) { _websiteError = error; }