update
This commit is contained in:
@@ -29,4 +29,14 @@ class ProductCategoryService implements ProductCategoryServiceInterface
|
||||
{
|
||||
return $this->repository->delete($id);
|
||||
}
|
||||
|
||||
public function restore(int $id)
|
||||
{
|
||||
return $this->repository->restore($id);
|
||||
}
|
||||
|
||||
public function forceDelete(int $id)
|
||||
{
|
||||
return $this->repository->forceDelete($id);
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,8 @@ interface ProductCategoryServiceInterface {
|
||||
public function store(array $data);
|
||||
public function update(int $id, array $data);
|
||||
public function delete(int $id);
|
||||
|
||||
public function restore(int $id);
|
||||
|
||||
public function forceDelete(int $id);
|
||||
}
|
||||
Reference in New Issue
Block a user