// PUT: api/Company/5 public void Put(int id, [FromBody] PaymentModel value) { var service = new RentalService(); service.AddOrEditPayment(value); }
// PUT: api/Company/5 public void Put(int id, [FromBody] PaymentModel value) { var service = new RentalService(); service.AddOrEditPayment(value); }