public static int CreateZone(string name) { var zoneId = DbDataController.Instance().Zone.AddZone(name); SystemManager.PurgeZoneList(); return(zoneId); }
public int CreateApp() { var app = DataController.App.AddApp(null, Guid.NewGuid().ToString()); SystemManager.PurgeZoneList(); return(app.AppId); }
public void SaveLanguage(string cultureCode, string cultureText, bool active) { DataController.Dimensions.AddOrUpdateLanguage(cultureCode, cultureText, active); SystemManager.PurgeZoneList(); }