diff --git a/WarPlanes/WarPlanes/MapsCollection.cs b/WarPlanes/WarPlanes/MapsCollection.cs
index f0487ff..7927455 100644
--- a/WarPlanes/WarPlanes/MapsCollection.cs
+++ b/WarPlanes/WarPlanes/MapsCollection.cs
@@ -68,7 +68,7 @@ namespace AirFighter
///
/// Путь и имя файла
///
- public bool SaveData(string filename)
+ public void SaveData(string filename)
{
if (File.Exists(filename))
{
@@ -82,7 +82,6 @@ namespace AirFighter
fs.Write($"{storage.Key}{separatorDict}{storage.Value.GetData(separatorDict, separatorData)}{Environment.NewLine}");
}
}
- return true;
}
///
/// Загрузка нформации по самолётам на парковках из файла
diff --git a/WarPlanes/WarPlanes/appsettings.json b/WarPlanes/WarPlanes/appsettings.json
index 46c2626..3825ce1 100644
--- a/WarPlanes/WarPlanes/appsettings.json
+++ b/WarPlanes/WarPlanes/appsettings.json
@@ -11,38 +11,6 @@
"outputTemplate": "[{Timestamp:HH:mm:ss.fff}]{Level:u4}: {Message:lj}{NewLine}{Exception}"
}
}
- ],
- "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
- "Destructure": [
- {
- "Name": "ByTransforming",
- "Args": {
- "returnType": "AirFighter.EntityWarPlane",
- "transformation": "r => new { BodyColor = r.BodyColor.Name, r.Speed, r.Weight }"
- }
- },
- {
- "Name": "ByTransforming",
- "Args": {
- "returnType": "AirFighter.EntityFighter",
- "transformation": "r => new { BodyColor = r.BodyColor.Name, DopColor = r.DopColor.Name, r.Rocket, r.Wing, r.Speed, r.Weight }"
- }
- },
- {
- "Name": "ToMaximumDepth",
- "Args": { "maximumDestructuringDepth": 4 }
- },
- {
- "Name": "ToMaximumStringLength",
- "Args": { "maximumStringLength": 100 }
- },
- {
- "Name": "ToMaximumCollectionCount",
- "Args": { "maximumCollectionCount": 10 }
- }
- ],
- "Properties": {
- "Application": "AirFighter"
- }
+ ]
}
}
\ No newline at end of file