public JsonResult CourseDelete(Course course)
        {
            if (course == null)
            {
                return(Json(new { Message = "Erro", HasError = true }));
            }

            var dao     = new CourseDAO();
            var message = dao.deleteCourse(course);

            return(Json(new { Message = message }));
        }