|
|
@@ -109,11 +109,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
/// </summary> |
|
|
|
/// <param name="lessonNo"></param> |
|
|
|
/// <returns></returns> |
|
|
|
public Exam_ExamLessonEntity GetEntityByLessonNo(string lessonNo) |
|
|
|
public Exam_ExamLessonEntity GetEntityByLessonNo(string lessonNo, string AcademicYearNo, int? Semester) |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
return this.BaseRepository("CollegeMIS").FindEntity<Exam_ExamLessonEntity>(x => x.LessonNo == lessonNo); |
|
|
|
return this.BaseRepository("CollegeMIS").FindEntity<Exam_ExamLessonEntity>(x => x.LessonNo == lessonNo && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester); |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|