public SQLiteProfilesService(string databasePath) { _connection = new SQLiteConnection(databasePath, false); _connection.Open(); _saveProfileService = new SQLiteSaveProfileService(_connection); _loadProfilesService = new SQLiteLoadProfilesService(_connection); }
public SQLiteProfilesService(ISaveProfileService saveProfileService, ILoadProfilesService loadProfilesService) { _saveProfileService = saveProfileService; _loadProfilesService = loadProfilesService; }