From f5eb3e9037e037862d59823aa3e76f4a49f0aecb Mon Sep 17 00:00:00 2001 From: berlin-tzen Date: Thu, 12 Jan 2023 14:38:35 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20=E6=9B=B4=E6=94=B9LocationController?= =?UTF-8?q?=20Function=20=E5=90=8D=E7=A8=B1=20[WHY]=20ShowEasy=20=E5=BE=8C?= =?UTF-8?q?=E5=8F=B0=E9=96=8B=E7=99=BC=20[HOW]=20Location=20API=20?= =?UTF-8?q?=E9=96=8B=E7=99=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EuroTran/WebApp/Controllers/LocationController.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/EuroTran/WebApp/Controllers/LocationController.cs b/EuroTran/WebApp/Controllers/LocationController.cs index c0d15c0..50b8b10 100644 --- a/EuroTran/WebApp/Controllers/LocationController.cs +++ b/EuroTran/WebApp/Controllers/LocationController.cs @@ -16,37 +16,37 @@ namespace WebApp.Controllers [HttpGet] - public HttpResponseMessage regions(string Lang) + public HttpResponseMessage Regions(string Lang) { return new LocationService().GetRegionList(Lang); } [HttpGet] - public HttpResponseMessage region(string Lang, string RegionID) + public HttpResponseMessage Region(string Lang, string RegionID) { return new LocationService().GetOneRegion(Lang, RegionID); } [HttpGet] - public HttpResponseMessage countries(string Lang, string RegionID) + public HttpResponseMessage Countries(string Lang, string RegionID) { return new LocationService().GetCountryList(Lang, RegionID); } [HttpGet] - public HttpResponseMessage country(string Lang, string CountryID) + public HttpResponseMessage Country(string Lang, string CountryID) { return new LocationService().GetOneCountry(Lang, CountryID); } [HttpGet] - public HttpResponseMessage cities(string Lang, string CountryID) + public HttpResponseMessage Cities(string Lang, string CountryID) { return new LocationService().GetCityList(Lang, CountryID); } [HttpGet] - public HttpResponseMessage city(string Lang, string CityID) + public HttpResponseMessage City(string Lang, string CityID) { return new LocationService().GetOneCity(Lang, CityID); }