Esempio n. 1
0
        public async Task <Session> GetSessionByKey(int accountId, int sessionKey)
        {
            var connString = await GetAccountConnectionString(accountId);

            var response = await _infowebAXClientReference.GetSessionByKey(connString, sessionKey);

            return(GetDeserializedResponse <Session>(response.GetSessionByKeyResult.Nodes).FirstOrDefault());
        }
Esempio n. 2
0
        public async Task <GetSessionByKeyResponse> GetSessionByKey(int accountId, int sessionKey)
        {
            var connString = await GetAccountConnectionString(accountId);

            return(await _infowebAXClientReference.GetSessionByKey(connString, sessionKey));
        }