public ActionResult Bonding(int PermitKey)
        {
            BondingBO BondingBo = PermitBLL.GetBonding(PermitKey);
            BondingVM Model = new BondingVM(BondingBo);

            return View(Model);
        }
        public ActionResult Bonding(BondingVM Model, int PermitKey)
        {
            Model.Validate(ModelState);

            if (!ModelState.IsValid)
                return View(Model);

            try
            {
                PermitBLL.SetBonding(Model.GetDataObject());
                AddSuccessMessage("Your changes have been saved");
            }
            catch (Exception ex)
            {
                AddErrorMessage(ex);
            }

            return View(Model);
        }