Esempio n. 1
0
 public IHttpActionResult printIntandCustomer([FromUri] int passcode, [FromBody] customer c)
 {
     return(Ok(passcode + "-" + c.name));
 }
Esempio n. 2
0
 public IHttpActionResult printCustomer([FromBody] customer cus)
 {
     return(Ok(cus));
 }