示例#1
0
        public float GetLearningBlockScore(LearningBlockData lb)
        {
            var allScores = scoreHelper.GetCurrentScoreForPlaySessionsOfLearningBlock(lb.Stage, lb.LearningBlock);

            return(scoreHelper.GetAverageScore(allScores));
        }
 public List <PlaySessionData> GetPlaySessionsOfLearningBlock(LearningBlockData lb)
 {
     return(FindPlaySessionData(x => x.Stage == lb.Stage && x.LearningBlock == lb.LearningBlock));
 }