diff --git a/Quizzer/Quizzer/Pages/Index.cshtml b/Quizzer/Quizzer/Pages/Index.cshtml index 6e9d528..6f38435 100644 --- a/Quizzer/Quizzer/Pages/Index.cshtml +++ b/Quizzer/Quizzer/Pages/Index.cshtml @@ -70,8 +70,8 @@ {
- - + +
} diff --git a/Quizzer/Quizzer/Pages/Index.cshtml.cs b/Quizzer/Quizzer/Pages/Index.cshtml.cs index 1b05a40..4914235 100644 --- a/Quizzer/Quizzer/Pages/Index.cshtml.cs +++ b/Quizzer/Quizzer/Pages/Index.cshtml.cs @@ -434,9 +434,9 @@ namespace Quizzer.Pages PageQuizzID = quizzInProgress; RegisterAnswer(); break; - //case "delete": //Student should not be able to delete journal as this resets the journal - // dbManager.DeleteJournal(UserID, target); - // break; + case "deleteMyTest": //Student should not be able to delete journal as this resets the journal + dbManager.DeleteJournal(UserID, target); + break; default: break; }