public ActionResult Edit([Bind(Include = "Id,FirstName,LastName,Email,IsSubscribed")] SubscriberInfo subscriberInfo) { if (ModelState.IsValid) { db.Entry(subscriberInfo).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(subscriberInfo)); }