示例#1
0
        public async Task <List <Session> > GetAllSessions(int accountId)
        {
            var connString = await GetAccountConnectionString(accountId);

            var response = await _infowebAXClientReference.GetAllSessions(connString);

            return(GetDeserializedResponse <Session>(response.GetAllSessionsResult.Nodes));
        }
示例#2
0
        public async Task <GetAllSessionsResponse> GetAllSessions(int accountId)
        {
            var connString = await GetAccountConnectionString(accountId);

            return(await _infowebAXClientReference.GetAllSessions(connString));
        }