public async Task <Gate> CheckGate(int accountId, string gateNumber) { var connString = await GetAccountConnectionString(accountId); var response = await _infowebAXClientReference.CheckGate(connString, gateNumber); return(GetDeserializedResponse <Gate>(response.checkGateResult.Nodes).FirstOrDefault()); }
public async Task <checkGateResponse> CheckGate(int accountId, string gateNumber) { var connString = await GetAccountConnectionString(accountId); return(await _infowebAXClientReference.CheckGate(connString, gateNumber)); }