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()); }
public async Task <GetSessionByKeyResponse> GetSessionByKey(int accountId, int sessionKey) { var connString = await GetAccountConnectionString(accountId); return(await _infowebAXClientReference.GetSessionByKey(connString, sessionKey)); }