public void UpdateInteresting_fact(Interesting_factModel f)
        {
            Interesting_fact fi = db.Interesting_facts.GetItem(f.FactId);

            fi.AuthorID  = f.AuthorID;
            fi.Content   = f.Content;
            fi.Author    = f.Author;
            fi.ImageLink = f.ImageLink;
            fi.ImagePath = f.ImagePath;

            Save();
        }
 public void CreateInteresting_fact(Interesting_factModel f)
 {
     db.Interesting_facts.Create(new Interesting_fact()
     {
         AuthorID  = f.AuthorID,
         Content   = f.Content,
         Author    = f.Author,
         ImageLink = f.ImageLink,
         ImagePath = f.ImagePath
     });
     Save();
 }