mercredi 4 avril 2018

IHttpActionResult web.api how to return anon responce with special name of variable

i need return responce like this: (Message-type)

return Ok(ApiStatusCode.Success, new 
            {
                Message-type = "hello man",
                value = 123});

how can i do it?




Aucun commentaire:

Enregistrer un commentaire