public async Task <Jobresponse.Response> LoadAllJobs(string tenantId, string jSession, string PersonNumber, string QueryDate, string ShiftSwapDate, string StartTime, string EndTime) { try { string xmlTimeOffRequest = CreateLoadJobRequest(PersonNumber, QueryDate, ShiftSwapDate, StartTime, EndTime); TenantMapEntity tenantMapEntity = await azureTableStorageHelper.ExecuteQueryUsingPointQueryAsync <TenantMapEntity>(Constants.ActivityChannelId, tenantId); var tupleResponse = await ApiHelper.Instance.SendSoapPostRequest(tenantMapEntity.EndpointUrl, ApiConstants.SoapEnvOpen, xmlTimeOffRequest, ApiConstants.SoapEnvClose, jSession); Jobresponse.Response Response = ProcessAllJobsResponse(tupleResponse.Item1); return(Response); } catch (Exception) { return(null); } }