public void ProcessEntries(List <JaevnerEntry> entries) { foreach (JaevnerEntry entry in entries) { if (_repository.EntryExists(entry.UniqueId)) { UpdateEntry(entry); } else { InsertEntry(entry); } } }