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