Exemplo n.º 1
0
 public decimal Post([FromBody] Trolley trolley)
 {
     _logger.LogInformation(JsonConvert.SerializeObject(trolley));
     //return HttpRequestHelper.PostTrolleyCalculator(trolley).Result;
     return(HttpRequestHelper.CalculateTotal(trolley));
 }