Beispiel #1
0
 public IActionResult PostApi2([FromBody] decimal amount)
 {
     AmountApi2 = new BestDealObject(amount, "api2");
     return(Ok(amount));
 }
Beispiel #2
0
 public IActionResult PostApi3([FromBody] decimal quote)
 {
     QuoteApi3 = new BestDealObject(quote, "api3");
     return(Ok(quote));
 }
Beispiel #3
0
 public IActionResult PostApi1([FromBody] decimal total)
 {
     TotalApi1 = new BestDealObject(total, "api1");
     return(Ok(total));
 }