public void EditArticle(Article articleToEdit)
 {
     db.Entry(articleToEdit).State = EntityState.Modified;
     db.SaveChanges();
 }
 public void CreateNewArticle(Article articleToCreate)
 {
     db.Articles.Add(articleToCreate);
     db.SaveChanges();
 }