コード例 #1
0
    /// <summary>
    /// Check if Student has cleared the selected World's Section
    /// </summary>
    /// <param name="worldId"></param>
    /// <param name="sectionId"></param>
    /// <param name="studentId"></param>
    /// <returns>Return int result 1 if Student has cleared the section</returns>
    public int CheckSectionCleared(int worldId, int sectionId, int studentId)
    {
        SectionDaoImpl sectionDao = new SectionDaoImpl();
        int            result     = sectionDao.CheckSectionCleared(worldId, sectionId - 1, studentId);

        return(result);
    }