// PUT: api/Customer/5 public void Put(int id, [FromBody] CustomerService.Entities.Customer customer) { _customerService.Update(id, customer); }
// POST: api/Customer public void Post([FromBody] CustomerService.Entities.Customer customer) { _customerService.Create(customer); }