/// <summary> /// This method requires a course object to add a course entry to the database. /// </summary> /// <param name="course">The course object</param> /// <returns>Returns a bool whether it succeeded or not.</returns> public bool addCourse(Course course) { QueryStrings queryStrings = new QueryStrings(); string data = course.courseCode + "','" + course.name + "','" + course.schoolYear + "','" + course.blockPeriod + "','" + course.credits; return(queryStrings.addCourse(course, data)); }