示例#1
0
        // Update a record
        public ActionResult Edit(int id)
        {
            ContactBAL db     = new ContactBAL();
            var        record = db.Details(id);

            return(View(record));
        }
示例#2
0
        // View details of a single record.
        public ActionResult Details(int id)
        {
            ContactBAL db            = new ContactBAL();
            var        currentRecord = db.Details(id);

            return(View(currentRecord));
        }