public ActionResult Create(PressCategory presscategory)
 {
     if (ModelState.IsValid)
     {
         db.PressCategories.Add(presscategory);
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     CreateFrame(title);
     return View(presscategory);
 }
 public ActionResult Edit(PressCategory presscategory)
 {
     if (ModelState.IsValid)
     {
         db.Entry(presscategory).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(presscategory);
 }