|
|
@ -16,39 +16,39 @@ namespace WebApp.Controllers |
|
|
|
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
public HttpResponseMessage regions(string lang) |
|
|
|
public HttpResponseMessage regions(string Lang) |
|
|
|
{ |
|
|
|
return new LocationService().GetRegionList(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); |
|
|
|
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); |
|
|
|
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); |
|
|
|
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); |
|
|
|
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); |
|
|
|
return new LocationService().GetOneCity(Lang, CityID); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|