From 7676bea101897cc9a5fee0e4a98464e2bd37410f Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Mon, 2 Jan 2023 20:50:11 +0100 Subject: [PATCH] Moved export code into region --- I18N Commander/DataModel/Database/Common/DataContext.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/I18N Commander/DataModel/Database/Common/DataContext.cs b/I18N Commander/DataModel/Database/Common/DataContext.cs index 98794ce..8d9bac5 100644 --- a/I18N Commander/DataModel/Database/Common/DataContext.cs +++ b/I18N Commander/DataModel/Database/Common/DataContext.cs @@ -66,7 +66,7 @@ public sealed class DataContext : DbContext, IDataContext #endregion } - #region Export and import data structures + #region Export and import private readonly record struct JsonData( IEnumerable Settings, @@ -137,8 +137,6 @@ public sealed class DataContext : DbContext, IDataContext bool TranslateManual, JsonUniqueId TextElementUniqueId ); - - #endregion public async Task ExportAsync(string path) { @@ -158,4 +156,6 @@ public sealed class DataContext : DbContext, IDataContext Translations = this.Translations.Select(n => n.ToJsonTranslation()), }, jsonSettings); } + + #endregion } \ No newline at end of file