public void AddSubjectToLessonTestMethod() { CourseSubjectRelBll bll = new CourseSubjectRelBll(); LessonBll lessonBll = new LessonBll(); Yw_CourseLesson lesson = lessonBll.GetLesson(10023); bll.AddSubjectToLesson(lesson, 10005); }
public void AddSubjectToLessonTest() { LessonBll lessonBll = new LessonBll(); Yw_CourseLesson lesson = lessonBll.GetLesson(10022); CourseSubjectRelBll bll = new CourseSubjectRelBll(); bll.AddSubjectToLesson(lesson, new List <int> { 10042, 10043 }); }
public void AddSubjectToLessonTest() { Yw_CourseLesson lesson = new Yw_CourseLesson(); lesson.Ycl_Id = 20000; lesson.Ycl_CourseId = 20000; lesson.Ycl_Index = 1; CourseSubjectRelBll bll = new CourseSubjectRelBll(); bll.AddSubjectToLesson(lesson, 10000); }