public ActionResult Edit([Bind(Include = "Id,Email,UserName")] AspNetUsers aspNetUsers) { if (ModelState.IsValid) { db.Entry(aspNetUsers).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(aspNetUsers)); }