Skip to content

Instantly share code, notes, and snippets.

@LinZap
Last active March 15, 2018 07:24
Show Gist options
  • Select an option

  • Save LinZap/ea3e06f39dba193e7a29771e72c6adef to your computer and use it in GitHub Desktop.

Select an option

Save LinZap/ea3e06f39dba193e7a29771e72c6adef to your computer and use it in GitHub Desktop.
[HttpDelete]
public object sum([FromBody]AddModel body)
{
return new { sum = body.a + body.b };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment