Example #1
0
        public CourseMeetingCollection FindByRoomId(int roomId)
        {
            CourseMeetingCollection cm3 = new CourseMeetingCollection();

            foreach (var r in cmList)
            {
                if (r.RoomId == roomId)
                {
                    cm3.CmList.Add(r);
                }
            }
            return(cm3);
        }
Example #2
0
        public CourseMeetingCollection FindByCourseId(int courseId)
        {
            CourseMeetingCollection cm = new CourseMeetingCollection();

            foreach (var c in cmList)
            {
                if (c.CourseId == courseId)
                {
                    cm.CmList.Add(c);
                }
            }
            return(cm);
        }
Example #3
0
        public CourseMeetingCollection FindByProfessorId(int professorId)
        {
            CourseMeetingCollection cm2 = new CourseMeetingCollection();

            foreach (var p in cmList)
            {
                if (p.Professor == professorId)
                {
                    cm2.CmList.Add(p);
                }
            }
            return(cm2);
        }
Example #4
0
 public CMC_CallEventArgs(CourseMeetingCollection cmc)
 {
     courseMeetings = cmc;
 }