Example #1
0
        public async Task <IActionResult> PostTestResultsFromEventsAsync()
        {
            //select from memory
            var eventResultList = _eventResultDAO.SelectAll();
            var testResultList  = TestResult.CompileTestResults(eventResultList);

            //save test result
            await _testResultAsyncDAO.InsertRangeAsync(testResultList).ConfigureAwait(false);

            return(Ok());
        }
 public Task InsertRangeAsync(IEnumerable <TestResult> testResultColl)
 {
     return(_dao.InsertRangeAsync(testResultColl));
 }