Some cleanup

This commit is contained in:
2023-04-07 22:10:03 -04:00
parent 49842a1663
commit 96d327270f
14 changed files with 64 additions and 97 deletions

View File

@@ -1,7 +1,6 @@
using FeedCenter.Data;
using FeedCenter.Options;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FeedCenter
@@ -18,11 +17,7 @@ namespace FeedCenter
return Database.Entities;
}
public static void CloseDataStore(object dataStore)
{
}
public static string GetSettingValue(object dataStore, string name, Version version)
public static string GetSettingValue(object dataStore, string name, Version _)
{
var entities = (FeedCenterEntities) dataStore;
@@ -31,7 +26,7 @@ namespace FeedCenter
return setting?.Value;
}
public static void SetSettingValue(object dataStore, string name, Version version, string value)
public static void SetSettingValue(object dataStore, string name, Version _, string value)
{
var entities = (FeedCenterEntities) dataStore;
@@ -57,11 +52,5 @@ namespace FeedCenter
setting.Value = value;
});
}
public static List<Version> GetVersionList(object dataStore) => null;
public static void DeleteSettingsForVersion(object dataStore, Version version)
{
}
}
}
}