/// <summary> /// Function to check existence of tax based on parameter /// </summary> /// <param name="decTaxId"></param> /// <param name="strTaxName"></param> /// <returns></returns> public bool TaxCheckExistence(decimal decTaxId, string strTaxName) { bool isEdit = false; try { isEdit = spTax.TaxCheckExistence(decTaxId, strTaxName); } catch (Exception ex) { MessageBox.Show("TBLL1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(isEdit); }