repository->all(); } public function getItem(int $id): ?Country { return $this->repository->find($id); } public function createItem(CountryDTO $dto): Country { return $this->repository->create($dto); } public function updateItem(CountryDTO $dto, int $id): Country { return $this->repository->update($id, $dto, request()->keys()); } public function deleteItem(int $id): bool { return $this->repository->delete($id); } }