bool result = false; BankDAL objDAL = new BankDAL(); if (objDAL.IsRecordExist(objBankMasterBEL)) {
throw new Exception("This name already exists..");
return false;
} result = objDAL.ADD_BANKMASTER(objBankMasterBEL); return result;