public void AddChangeLog(string id, DateTime changeDt, string fieldName, string fieldType, string fromId, string fromValue, string toId, string toValue) { if (!_changeLogList.Exists(x => x._id == id)) { _changeLogList.Add(JiraChangeLog.BuildJiraChangeLog(id, changeDt, fieldName, fieldType, fromId, fromValue, toId, toValue)); } }
public void AddChangeLog(JiraChangeLog changeLog) { if (!_changeLogList.Exists(x => x._id == changeLog._id)) { _changeLogList.Add(changeLog); } }