Beispiel #1
0
        public Tax GetTaxByProduct(Product product)
        {
            // Hack for MongoDB
            Tax tax = new Tax()
            {
                Rate = 0.00
            };

            try
            {
                tax = _session.Single<Tax>(t => t.Id == product.TaxId);
            }
            catch
            {

            }

            return tax;
        }
 protected virtual void OnSelectedProductChanged(Product product)
 {
 }