public void FireEditJournalEntry(WorkItem wi, JournalEntry oldEntry, JournalEntry newEntry) { var eventArgs = new AppEventArgs(AppAction.JOURNAL_ENTRY_EDITED, wi, oldEntry, newEntry); appEvent?.Invoke(this, eventArgs); }
public void FireAddJournalEntry(WorkItem wi, JournalEntry je) { var eventArgs = new AppEventArgs(AppAction.JOURNAL_ENTRY_ADDED, wi, je); appEvent?.Invoke(this, eventArgs); }