Пример #1
0
        private async Task <Accounts> GetAllAccounts(string userSelected)
        {
            TokenManager tokenManager = new TokenManager();
            var          token        = await tokenManager.CreateAuthToken(userSelected);

            AccountManager accountManager = new AccountManager();
            var            accounts       = await accountManager.GetAccounts(token);

            return(accounts);
        }