Deploying for test

This commit is contained in:
Rick Falkvinge
2012-11-17 22:42:01 +00:00
parent 7d0b0838ea
commit ca932ec983
4 changed files with 631 additions and 422 deletions
+5
View File
@@ -44,5 +44,10 @@ namespace Activizr.Logic.Structure
{
return FromBasic(PirateDb.GetDatabaseForReading().GetCityByName(cityName, countryCode));
}
public static City Create (string cityName, int countryId, int geographyId)
{
return City.FromIdentity(PirateDb.GetDatabaseForWriting().CreateCity(cityName, countryId, geographyId));
}
}
}