// PUT api/values/5 public void Put(int id, [FromBody] Invoice value) { }
// POST api/values public void Post([FromBody] Invoice value) { _service.SaveInvoice(value); }