public void delete(Course course) {

    courseVerifier.verifyCourseOnDelete(course);

    commonDao.deleteAllMeetingHoursForCourse(course.getId());
    courseDao.delete(course.getId());
  }
  public Course update(Course course) {
    courseVerifier.verifyCourseOnUpdate(course);

    commonDao.deleteAllMeetingHoursForCourse(course.getId());
    Long locationId = commonDao.provideCourseLocation(course.getLocation());

    courseDao.update(course, locationId);

    createMeetingHours(course);

    return courseDao.getById(course.getId());
  }