public ActionResult Create(article article)
        {
            article.stars = 0;
            if (ModelState.IsValid)
            {
                db.articles.Add(article);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(article);
        }
 public ActionResult Edit(article article)
 {
     if (ModelState.IsValid)
     {
         db.Entry(article).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("article", "home", new { id=article.id});
     }
     return View(article);
 }