private async Task UpdateParkingLot(string id) { WriteLine($"Testing PUT '{_route}/{SensorApi.Path}/{id}'."); // Sample JSON to send JObject json = new JObject { ["name"] = "TEST: C#-api-lot-update" }; await _parkingLotApi.Update(id, json.ToString()); WriteLine("Parking Lot Update Success\n"); }
private async Task UpdateParkingLot(string id) { WriteLine($"Testing PUT \"{Route}{Sensors.Route}/{id}\""); // Sample JSON to send JObject json = new JObject { ["name"] = "TEST: C#-api-lot-update" }; await ParkingLots.Update(id, json.ToString()); WriteLine("Parking Lot Update Success\n"); }