/// <summary> /// Function for Tax View All By VoucherTypeId /// </summary> /// <param name="decVoucherTypeId"></param> /// <returns></returns> public List <DataTable> TaxViewAllByVoucherTypeId(decimal decVoucherTypeId) { List <DataTable> ListObj = new List <DataTable>(); try { ListObj = spTax.TaxViewAllByVoucherTypeId(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("TBLL6:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(ListObj); }