示例#1
0
        public async Task <Session> GetSessionBySessionCode(int accountId, string sessionCode)
        {
            var connString = await GetAccountConnectionString(accountId);

            var response = await _infowebAXClientReference.GetSessionBySessionCode(connString, sessionCode);

            return(GetDeserializedResponse <Session>(response.GetSessionBySessionCodeResult.Nodes).FirstOrDefault());
        }
示例#2
0
        public async Task <GetSessionBySessionCodeResponse> GetSessionBySessionCode(int accountId, string sessionCode)
        {
            var connString = await GetAccountConnectionString(accountId);

            return(await _infowebAXClientReference.GetSessionBySessionCode(connString, sessionCode));
        }