Esempio n. 1
0
        public TaxCalc CalculatePropertyTax(CalculatePropertyTax command)
        {
            Console.WriteLine(command.State);

            return(command.State == "CT" ? new TaxCalc {
                Amount = 20_500, DateCalculated = DateTime.Now
            }
Esempio n. 2
0
 public async Task <TaxCalc> CalculatePropertyTax([FromBody] CalculatePropertyTax command)
 {
     return(await _messaging.SendAsync(command));
 }