|
|
@ -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); |
|
|
|
} |
|
|
|