diff --git a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml index ef09c3d..4ffabff 100644 --- a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml +++ b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml @@ -89,7 +89,7 @@ //console.log(name) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/location-" + name, + url: "http://140.125.20.183:7700/api/Yuntech_in_car_table", data: {}, contentType: "application/json", success: function (Model) { diff --git a/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml b/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml index 18f94ac..d14d0ca 100644 --- a/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml +++ b/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml @@ -89,7 +89,7 @@ //console.log(name) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/location-" + name, + url: "http://140.125.20.183:7700/api/Yuntech_in_car_table" , data: {}, contentType: "application/json", success: function (Model) {