Ejemplo n.º 1
0
        public bool AddNotifications(IDomainNotifier notifier)
        {
            if (notifier.HasNotifications())
            {
                _domainNotificationHandler.AddNotifications(notifier);
                return(true);
            }

            return(false);
        }
Ejemplo n.º 2
0
        public bool AddNotifications(IDomainNotifier notifier)
        {
            if (notifier.HasNotifications())
            {
                foreach (DomainNotification notification in notifier.GetNotifications())
                {
                    AddNotification(notification);
                }

                return(true);
            }

            return(false);
        }