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