public bool IsCourseExist(int courseID) { //TeacherManager aTeacherManager = new TeacherManager(); //DepartmentManager aDepartmentManager = new DepartmentManager(); //CourseManager aCourseManager = new CourseManager(); CourseAssignGateway aCourseAssignGateway = new CourseAssignGateway(); bool isCourseExists = aCourseAssignGateway.IsCourseExist(courseID); return(isCourseExists); }