コード例 #1
0
 public void FormAndBody_Throws([FromForm] Person p, Customer customer)
 {
 }
コード例 #2
0
 // Will throw as Customer reads body.
 public Customer GetCustomer(Customer customer)
 {
     return customer;
 }
コード例 #3
0
 // Customer has a FromBody Property.
 public void FromBodyParameterAndPropertyThrows([FromBody] Person p, Customer customer)
 {
 }