public ActionResult Edit(ForumCategory forumpostcategory)
 {
     if (ModelState.IsValid)
     {
         db.Entry(forumpostcategory).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(forumpostcategory);
 }
        public ActionResult Create(ForumCategory forumpostcategory)
        {
            if (ModelState.IsValid)
            {
                db.ForumCategories.Add(forumpostcategory);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(forumpostcategory);
        }