예제 #1
0
 private void SaveTopic(TopicClient topic)
 {
     var status = _topicDriver.Save(topic);
     if (status == OperationStatus.Success)
     {
         topic.AddSuccessNotification(MessageManager.GetMessage(status));
     }
     else
     {
         topic.AddErrorNotification(MessageManager.GetMessage(status));
     }
 }
예제 #2
0
        private void SaveTopic(TopicClient topic)
        {
            var status = _topicDriver.Save(topic);

            if (status == OperationStatus.Success)
            {
                topic.AddSuccessNotification(MessageManager.GetMessage(status));
            }
            else
            {
                topic.AddErrorNotification(MessageManager.GetMessage(status));
            }
        }