/// <summary> /// Returns the status for an assignment group. /// </summary> public SubmissionStatus GetAssignmentGroupStatus( IList <AssignmentResult> assignmentResults) { return(_submissionStatusCalculator.GetStatusForAssignment ( assignmentResults.Select(ar => ar.Status).ToList() )); }
/// <summary> /// Returns the status for an assignment. /// </summary> public SubmissionStatus GetAssignmentStatus( IList <StudentQuestionResult> questionResults) { return(_submissionStatusCalculator.GetStatusForAssignment ( questionResults.Select(qr => qr.Status).ToList() )); }