public void Load() { var loadedUsers = _readerWriter.ReadEnumerable <UserCredentials>(_filePath); if (loadedUsers != null) { _userCredentials = loadedUsers.ToList(); } }
public void Load() { var currentAccounts = _readerWriter.ReadEnumerable <Account>(_filePath); if (currentAccounts != null) { _accounts = currentAccounts.ToList(); } }