public function edit($id)
{
$categories = $this->repository->orderBy('id', 'desc')->paginate(15);
$selectedCategory = CategoryService::unlimitedForLevel($categories->toArray()['data']);
$category = $this->repository->find($id);
return view('backend.news.category_edit', ['category' => $category, 'selectCategory' => $selectedCategory]);
}