public async Task <IActionResult> GetTestResultAsync(string testId) { //resolving test result var result = await _testResultAsyncDAO.SelectByTestIdAsync(testId).ConfigureAwait(false); return(Json(MapToResponse(result))); }
public Task <List <TestResult> > SelectByTestIdAsync(string testId) { return(_dao.SelectByTestIdAsync(testId)); }