public List <Course> GetCourseDetail()
        {
            CourseManagerDAO courseDetail = new CourseManagerDAO();
            var courseDetails             = courseDetail.GetCourseDetail();

            return(courseDetails);
        }
        public void DeleteCourse(Course course)
        {
            CourseManagerDAO courseDetail = new CourseManagerDAO();

            courseDetail.DeleteCourse(course);
        }
        public void InsertCourse(Course course)
        {
            CourseManagerDAO courseDetail = new CourseManagerDAO();

            courseDetail.InsertCourse(course);
        }