public ActionResult Edit(ContentAbout contentabout)
 {
     if (ModelState.IsValid)
     {
         db.ContentAbouts.Attach(contentabout);
         db.ObjectStateManager.ChangeObjectState(contentabout, EntityState.Modified);
         db.SaveChanges();
         return RedirectToAction("Details", new { id = 1 });
     }
     return View(contentabout);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ContentAbouts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContentAbouts(ContentAbout contentAbout)
 {
     base.AddObject("ContentAbouts", contentAbout);
 }
 /// <summary>
 /// Create a new ContentAbout object.
 /// </summary>
 /// <param name="aboutID">Initial value of the AboutID property.</param>
 public static ContentAbout CreateContentAbout(global::System.Int32 aboutID)
 {
     ContentAbout contentAbout = new ContentAbout();
     contentAbout.AboutID = aboutID;
     return contentAbout;
 }