..
This commit is contained in:
@@ -10,9 +10,11 @@ namespace VNCServerList.Services
|
||||
public class DatabaseService
|
||||
{
|
||||
private readonly string _connectionString;
|
||||
private readonly SettingsService _settingsService;
|
||||
|
||||
public DatabaseService()
|
||||
public DatabaseService(SettingsService settingsService = null)
|
||||
{
|
||||
_settingsService = settingsService ?? new SettingsService();
|
||||
_connectionString = Properties.Settings.Default.VNCServerDB;
|
||||
InitializeDatabase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user