public ActionResult Edit([Bind(Include = "Id,Categoryyy,Amounttt,Dateee,Remarkkk")] AccountBook accountBook) { if (ModelState.IsValid) { db.Entry(accountBook).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(accountBook)); }