public Notification ShowNotification(Notification.Model notificationModel) { if (notificationModel == null) { return(null); } Notification notification = notificationFactory.CreateNotificationFromType(notificationModel.type, notificationPanel); notificationModel.destroyOnFinish = true; ShowNotification(notification, notificationModel); return(notification); }