Exemple #1
0
        public void Load()
        {
            var loadedUsers = _readerWriter.ReadEnumerable <UserCredentials>(_filePath);

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

            if (currentAccounts != null)
            {
                _accounts = currentAccounts.ToList();
            }
        }