mardi 16 août 2016

Reading multiple parameters from message body

Can i read more than one parameter from message body?

Example :

public HttpResponseMessage Post([FromBody] int id, [FromBody] string name) { ... }




Aucun commentaire:

Enregistrer un commentaire