private void SetResults(IList <TblCompiledAnswers> compileAnswer)
 {
     foreach (var ca in compileAnswer)
     {
         SetTestCaseResult(StudentRecordFinder.GetCompiledQuestionDataForCompiledAnswer(ca), ca);
     }
 }
    private void SetResults(IList <TblUserAnswers> userAnswers)
    {
        var compileAnswer = StudentRecordFinder.GetCompiledAnswersForAnswer(FindLatestUserAnswer(userAnswers));

        foreach (var ca in compileAnswer)
        {
            SetTestCaseResult(StudentRecordFinder.GetCompiledQuestionDataForCompiledAnswer(ca), ca);
        }
    }