private void updateComment(HistoryItemMetaData savedHistoryItemMetaData, IHistoryItem historyItem, ISession session)
 {
     savedHistoryItemMetaData.Command.Comment = historyItem.Command.Comment;
     _historyItemMetaDataRepository.SaveCommand(savedHistoryItemMetaData, session);
 }
 private bool commentHasChanged(HistoryItemMetaData savedHistoryItem, IHistoryItem historyItem)
 {
     return(!string.Equals(savedHistoryItem.Command.Comment, historyItem.Command.Comment));
 }