public IActionResult SessionCompleted(int testSessionId, int completedReason) { var viewModel = repository.GetSessionCompletedVM(testSessionId, (SessionCompletedReason)completedReason); return(View(viewModel)); }