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