public bool RemoveSalesTaxRate(SalesTaxRate salestaxrate) { SalesTaxRateData data = new SalesTaxRateData(); bool ret = false; try { ret = data.DeleteSalesTaxRate(salestaxrate); } catch (Exception ex) { log.Write(ex.Message, "RemoveSalesTaxRate"); throw (ex); } finally { data = null; } return(ret); }
public SalesTaxRate GetSalesTaxRates(int salesTaxRatesID) { SalesTaxRateData data = new SalesTaxRateData(); SalesTaxRate str = new SalesTaxRate(); try { str = data.GetSalesTaxRate(salesTaxRatesID); } catch (Exception ex) { log.Write(ex.Message, "GetSalesTaxRates"); throw (ex); } finally { data = null; } return(str); }
public int AddSalesTaxRate(SalesTaxRate salestaxrate) { SalesTaxRateData data = new SalesTaxRateData(); int ret = 0; try { ret = data.AddSalesTaxRate(salestaxrate); } catch (Exception ex) { log.Write(ex.Message, "AddSalesTaxRate"); throw (ex); } finally { data = null; } return(ret); }
public bool Contains(SalesTaxRate salesTaxRate) { return(this.List.Contains(salesTaxRate)); }
public void Remove(SalesTaxRate salesTaxRate) { this.List.Remove(salesTaxRate); }
public void Insert(int index, SalesTaxRate salesTaxRate) { this.List.Insert(index, salesTaxRate); }
public int IndexOf(SalesTaxRate salesTaxRate) { return(this.List.IndexOf(salesTaxRate)); }
public int Add(SalesTaxRate salesTaxRate) { return(this.List.Add(salesTaxRate)); }