public void GetAliquotsRecordCountTest() { var condition = new AggregatedConditionDto(); var count = _service.GetAliquotsRecordCount(condition).Result; Assert.IsTrue(count > 0); Console.WriteLine($"Total Aliquots: {count}"); Assert.Pass(); }
public async Task <int> GetAliquotsRecordCount([FromBody] AggregatedConditionDto condition) { return(await _dbService.GetAliquotsRecordCount(condition)); }