public ActionResult Edit([Bind(Include = "Id,Name,Active")] OrganizationViewModel model) { if (ModelState.IsValid) { var organization = Database.Organizations.Find(model.Id); model.UpdateOrganization(organization); Database.SaveChanges(); return(RedirectToAction("Edit", new { id = organization.Id })); } return(View(model)); }