public void AddStudentInCourse(int perID, int courseID, float grade = 0) { try { dl.AddStudentInCourse(perID, courseID, grade); } catch (DO.BadPersonIdCourseIDException ex) { throw new BO.BadStudentIdCourseIDException("Student ID and Course ID is Not exist", ex); } }