public void Get_Demo() { string wellApiNumber = GetWellApiNumber(); var jobHeaders = _jobHeaderService.Get(wellApiNumber).ToList(); Assert.IsTrue(jobHeaders.Count > 0); }
//********************************************************************************** // PRIVATE HELPERS //********************************************************************************** private DateTime GetActualModifiedUtc() { var jobId = _depthFeatures.First().JobId.ToString(); var header = _jobHeaderService .Get(jobId) .FirstOrDefault(m => m.ModifiedUtc.HasValue); return(header == null ? DateTime.UtcNow : header.ModifiedUtc.Value); }
//********************************************************************************** // PRIVATE HELPERS //********************************************************************************** private DateTime GetActualModifiedUtc() { var jobId = _customFlags.First().JobId.ToString(); var header = _jobHeaderService .Get(jobId) .FirstOrDefault(m => m.ModifiedUtc.HasValue); return(header?.ModifiedUtc ?? DateTime.UtcNow); }