/// <summary> /// Calculates the tax and add to product cart. /// </summary> /// <param name="aboProduct">The abo product.</param> public void CalculateTaxAndAddToProductCart(boProduct aboProduct) { aboProduct.idecProductTax = 0m; decimal ldecTax = TaxHelper.CalculateTax(aboProduct, idecCurrentTaxRate, idecImportedRate); aboProduct.idecProductTax += ldecTax; //Add All Product Taxes idecTotalTaxAmt += aboProduct.idecProductTax; //Add total amount and taxes idecTotalAmt += (aboProduct.idecBasePrice + ldecTax); //Add Product to Cart iclcCartProduct.Add(aboProduct); }