repository->delete($course); ModelChanged::dispatch(Course::class, 'deleted'); return true; } }