public void UpdateJournal(Entities.Journal journal)
        {
            Journal existing = context.Journals.Find(journal.ID);

            ((IObjectContextAdapter)context).ObjectContext.Detach(existing);
            context.Entry(journal).State = EntityState.Modified;
        }
 public void AddJournal(Entities.Journal journal)
 {
     context.Journals.Add(journal);
 }