public async Task <IActionResult> ViewFeedback(int submissionId) { var feedback = await SubmissionService.GetSubmissionFeedbackAsync ( ClassroomName, ProjectName, CheckpointName, submissionId ); if (feedback == null) { return(NotFound()); } if (ClassroomRole < ClassroomRole.Admin && feedback.UserId != User.Id) { return(Forbid()); } return(View(feedback)); }