Exemplo n.º 1
0
        public void Post([FromBody] SaleInfo saleInfo)
        {
            Console.Out.WriteLine("Received post message with the seller Id " + saleInfo.sellerId + " and the totalprice " + saleInfo.totalPrice);

            double taxedPrice = _taxCalculator.NewTaxValue(saleInfo);

            _externalTaxComms.SendToExternalTaxSystems(saleInfo, taxedPrice);
        }