public IActionResult DeleteQuestion(Guid questionId) { var deleteQuestion = testRepository.FindQuestion(questionId); if (deleteQuestion == null) { return(NotFound()); } testRepository.DeleteQuestion(deleteQuestion); return(RedirectToAction("dashboard", "examiner")); }