Esempio n. 1
0
        // Return to view after updating.
        public ActionResult Edit(Contact c)
        {
            ContactBAL db = new ContactBAL();

            db.Update(c);
            return(RedirectToAction("Index"));
        }
Esempio n. 2
0
        public ActionResult Edit(ContactRec p)
        {
            ContactBAL CB = new ContactBAL();

            CB.Update(p);

            return(RedirectToAction("Index"));
        }