public void GetAliquotTestsTest() { var list = _trackingService.GetAliquotTests(new GridParameter(Aliquot.Value.AliquotId, "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 <AliquotTestGridDto> > GetAliquotTests([FromBody] GridParameter parameter) { return(await _trackingDbService.GetAliquotTests(parameter)); }