Changed CourseController duplication in edit and delete