Exemplo n.º 1
0
 /// <summary>
 /// 根据学生id获取学生拥有的课时数量
 /// </summary>
 /// <param name="studentId">学生id</param>
 /// <returns>第一个值:总课程数,第二个值:未完成课程数,第三个值:完成课程数</returns>
 public Tuple <int, int, int> GetCourseCountByStudent(int studentId)
 {
     return(ScpRepository.GetCourseCountByStudnet(studentId));
 }
Exemplo n.º 2
0
 public Yw_StudentCourseProgress GetProgressByStudentCourse(int studentId, int courseId)
 {
     return(ScpRepository.GetByStudentCourse(studentId, courseId));
 }