public void CompleteQuiz(Guid quizId) { Quizzes.ForEach(q => { if (q.Id == quizId) { q.IsCompleted = true; } }); }
public void AddQuizPoint(Guid quizId) { Quizzes.ForEach(q => { if (q.Id == quizId) { q.Points++; } }); }