update
This commit is contained in:
@@ -81,4 +81,9 @@ class ProductCategoryRepository extends BaseRepository implements ProductCategor
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function bulkDelete(array $ids)
|
||||
{
|
||||
return $this->model->whereIn('id', $ids)->delete();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,4 +17,6 @@ interface ProductCategoryRepositoryInterface extends BaseRepositoryInterface
|
||||
public function restore(int $id);
|
||||
|
||||
public function forceDelete(int $id);
|
||||
|
||||
public function bulkDelete(array $ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user