// PUT: api/Truck/5 public void PutCapacity([FromBody] int capacity) { TruckBL.setCapacity(capacity); }