public JsonResult DeleteAddressBook(int ID)
        {
            DbData objDB             = new DbData(); //calling class DBdata
            var    addressBookRecord = objDB.GetAddressBookDataByID(ID);

            if (addressBookRecord == null)
            {
                return(Json(data: "Not Deleted", behavior: JsonRequestBehavior.AllowGet));
            }
            var result = objDB.DeleteData(ID);

            return(Json(data: "Deleted", behavior: JsonRequestBehavior.AllowGet));
        }