public ActionResult Edit([Bind(Include = "NodeID,FromDate,ToDate,NumberOfHits")] UINode uINode) { if (ModelState.IsValid) { db.Entry(uINode).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(uINode)); }