public bool RemoveEntry(string id) { if (Contains(id)) { int index = entries.FindIndex(entry => entry.Id == id); if (index >= 0) { var entry = entries[index]; entries.RemoveAt(index); RavenhillEvents.OnJournalEntryRemoved(entry); return(true); } } return(false); }