// Return to view after updating. public ActionResult Edit(Contact c) { ContactBAL db = new ContactBAL(); db.Update(c); return(RedirectToAction("Index")); }
public ActionResult Edit(ContactRec p) { ContactBAL CB = new ContactBAL(); CB.Update(p); return(RedirectToAction("Index")); }