public static bool AddTax(tTaxSetup taxSetup) { try { var result = AccountingDataProvider.AddTax(taxSetup); if (result == 1) { return(true); } return(false); } catch (Exception exception) { throw new Exception(exception.Message); } }