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()); }
public async Task <GetSessionBySessionCodeResponse> GetSessionBySessionCode(int accountId, string sessionCode) { var connString = await GetAccountConnectionString(accountId); return(await _infowebAXClientReference.GetSessionBySessionCode(connString, sessionCode)); }