Beispiel #1
0
 public CheckoutResultClass CheckoutForm([FromForm] CheckoutArgument argument)
 {
     return(Checkout(argument.PersonId, argument.Name));
 }
Beispiel #2
0
 public CheckoutResultClass CheckoutJSON([FromBody] CheckoutArgument argument)
 {
     return(Checkout(argument.PersonId, argument.Name));
 }