示例#1
0
        public async Task <ActionResult> _TestResults(Guid testId, int pageIndex = 1)
        {
            PagedList <TestResultDTO> testingResultDtos = await _testResultService.GetTestResultsForTest(testId, pageSize, pageIndex);

            PagedList <TestResultTableModel> testingResultTableModels = testingResultDtos.ConvertPagedList <TestResultDTO, TestResultTableModel>(_mapper);

            return(PartialView("_TestResultsTable", testingResultTableModels));
        }