Refactor: GetTree => GetAllBelow, GetLine => GetRootLineage

This commit is contained in:
Rick Falkvinge
2015-05-01 16:48:56 +02:00
parent 6b96e835b8
commit ed3d33064e
22 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ namespace Swarmops.Logic.DataObjects
private static int FindDefaultCountry (Org org)
{
//Find default country = Country of anchor.
Geographies line = Geography.FromIdentity (org.AnchorGeographyId).GetLine();
Geographies line = Geography.FromIdentity (org.AnchorGeographyId).GetRootLineage();
Geography[] arrLine = line.ToArray();
Array.Reverse (arrLine);
Countries countries = Countries.All;