public ActionResult DeleteConfirmed(decimal id) { SET_BOOK_GROUP set_book_group = db.SET_BOOK_GROUP.Single(s => s.BOOK_GROUP_NO == id); /*db.SET_BOOK_GROUP.DeleteObject(set_book_group); * db.SaveChanges();*/ db.SET_BOOK_GROUP_DELETE(set_book_group.BOOK_GROUP_NO, decimal.Parse(Session["sess_USER_NO"].ToString()), decimal.Parse(Session["sess_LOGON_NO"].ToString())); return(RedirectToAction("Index")); }