public ActionResult Edit([Bind(Include = "ID,Title")] LocationViewType locationViewType) { if (ModelState.IsValid) { db.Entry(locationViewType).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(locationViewType)); }