public ActionResult Edit([Bind(Include = "GrantTypeKey,GrantTypeName,GrantTypeDescription,GrantTypemaximum,GrantTypeLifetimeMaximum,GrantTypeDateEntered")] GrantType grantType) { if (ModelState.IsValid) { db.Entry(grantType).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(grantType)); }
public ActionResult Edit([Bind(Include = "BusinessRuleKey,BusinessRuleText")] BusinessRule businessRule) { if (ModelState.IsValid) { db.Entry(businessRule).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(businessRule)); }