public void addJournalEntry(RecipeJournalEntry newEntry) { if (newEntry != null) { journalEntries.Add(newEntry); RecipeBookDataAccessor.addJournalEntry(newEntry); journalEntries.sortJournal(); RaisePropertyChanged("LastMadeString"); RaisePropertyChanged("MadeToday"); } }
public void setJournalEntries(RecipeJournal entries) { this.journalEntries = entries; journalEntries.sortJournal(); }