Stupid mistake

This commit is contained in:
Rick Falkvinge
2012-11-05 16:20:00 +00:00
parent 7d4d05c61d
commit c8fcc5f0b2
+2
View File
@@ -35,11 +35,13 @@ public class GetGeographyData : System.Web.Services.WebService {
return PostalCodes.ForCountry(countryCode);
}
[WebMethod]
public Geographies GetGeographiesFromRoot (int rootId)
{
return Geography.FromIdentity(rootId).GetTree();
}
[WebMethod]
public Geographies GetGeographiesForCountry (string countryCode)
{
Country country = Country.FromCode(countryCode);