Ejemplo n.º 1
0
 public ActionResult Edit([Bind(Include = "PostID,ProjectID,PostTopic,PostBody,PostDate,PostNotify,SiteCoID,SiteUserID,PostTime")] PostIt postIt)
 {
     if (ModelState.IsValid)
     {
         db.Entry(postIt).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(postIt));
 }