Exemplo n.º 1
0
        public JsonResult DeletePreBalance(int PatientAccountRowID, string DeleteReason, string BillType, int Reg, string SecurityDeposityID)
        {
            //  int PatientAccountRowID = Convert.ToInt32(Request.Form["PatientAccountRowID"]);

            string _Del = null;

            try
            {
                string DependaincyName = objblamt.DeletePreBalanceAmount(Convert.ToInt32(PatientAccountRowID), DeleteReason, BillType, Reg, SecurityDeposityID);

                _Del = "Deleted Successfully";
            }
            catch (Exception)
            {
                throw;
            }
            return(new JsonResult {
                Data = _Del, JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }