Пример #1
0
    /// <summary>
    /// Check if the Section is cleared. If yes, unlock the first Level.
    /// </summary>
    private void CheckSectionCleared()
    {
        int     result  = sectionBL.CheckSectionCleared(Global.WorldId, Global.SectionId, Global.StudentId);
        Student student = studentScoreBL.GetStudentScores(Global.WorldId, Global.SectionId, Global.StudentId);

        //Student cleared previous section
        if (result == 0)
        {
            UnlockFirstLevel();
        }
    }