diff --git a/Blazor/Blazor/Pages/Questions/EditQuestion.razor.cs b/Blazor/Blazor/Pages/Questions/EditQuestion.razor.cs index 6fdad16..297b1bf 100644 --- a/Blazor/Blazor/Pages/Questions/EditQuestion.razor.cs +++ b/Blazor/Blazor/Pages/Questions/EditQuestion.razor.cs @@ -86,7 +86,7 @@ namespace Blazor.Pages.Questions private void SetCorrectAnswer(int checkboxId) { Console.WriteLine($"SetCorrectAnswer called with checkboxId: {checkboxId}"); - questionModel.IdAnswerGood = checkboxId; + question.IdAnswerGood = checkboxId; }