public Boolean DeleteCourse(BlackBoardCourse course) { int id = course.courseID; try { newStoredProcedure.DeleteCourse(id); return(true); } catch { return(false); } }
public Boolean AddCourse(BlackBoardCourse course) { int id = course.courseID; string name = course.courseName; string description = course.courseDescription; int credits = course.courseCredit; try { newStoredProcedure.AddNewCourse(id, name, description, credits); return(true); } catch { return(false); } }