public void GetSourceTestsTest() { var list = _trackingService.GetSourceTests(new GridParameter(SourceWithMaterial.Value.SourceId, "en")).Result.ToList(); Assert.IsNotEmpty(list); Console.WriteLine($"received {list.Count} tests"); var testBarCodes = list.Select(m => m.MaterialBarcode); Console.WriteLine(string.Join(", ", testBarCodes)); Assert.Pass(); }
public async Task <IEnumerable <SourceTestGridDto> > GetSourceTests([FromBody] GridParameter parameter) { return(await _trackingDbService.GetSourceTests(parameter)); }