public void Put(int id, [FromBody] PizzaBox.Domain.Models.Customer customer) { customer.ID = id; repo.Update(customer); }
public void Post([FromBody] PizzaBox.Domain.Models.Customer customer) { repo.Add(customer); }