static ServerAccounts() { if (ServerDataStorage.SaveExists(_accountsFile)) { _accounts = ServerDataStorage.LoadServerAccounts(_accountsFile).ToList(); } else { _accounts = new List <ServerAccount>(); SaveAccounts(); } }
public static void SaveAccounts() { ServerDataStorage.SaveServerAccounts(_accounts, _accountsFile); }