feat: Implement product and product category management with dedicated CRUD operations, services, and repositories.
This commit is contained in:
@@ -4,6 +4,8 @@ namespace App\Providers;
|
||||
|
||||
use App\Repositories\Addon\AddonCachedRepository;
|
||||
use App\Repositories\Addon\AddonRepositoryInterface;
|
||||
use App\Repositories\Admin\ProductCategory\ProductCategoryRepository;
|
||||
use App\Repositories\Admin\ProductCategory\ProductCategoryRepositoryInterface;
|
||||
use App\Repositories\Banned\BannedCachedRepository;
|
||||
use App\Repositories\Banned\BannedRepositoryInterface;
|
||||
use App\Repositories\Customer\CustomerCachedRepository;
|
||||
@@ -88,6 +90,8 @@ use App\Repositories\Module\Vmware\VmwareCachedRepository;
|
||||
use App\Repositories\Module\Vmware\VmwareRepositoryInterface;
|
||||
use App\Repositories\Type\TypeCachedRepository;
|
||||
use App\Repositories\Type\TypeRepositoryInterface;
|
||||
use App\Repositories\Admin\Product\ProductRepository;
|
||||
use App\Repositories\Admin\Product\ProductRepositoryInterface;
|
||||
use App\Repositories\User\UserCachedRepository;
|
||||
use App\Repositories\User\UserRepositoryInterface;
|
||||
use App\Repositories\vCenter\vCenterCachedRepository;
|
||||
@@ -343,6 +347,18 @@ class RepositoryProvider extends ServiceProvider
|
||||
VirtualMachineRepositoryInterface::class,
|
||||
VirtualMachineRepository::class
|
||||
);
|
||||
|
||||
// Product
|
||||
$this->app->bind(
|
||||
ProductRepositoryInterface::class,
|
||||
ProductRepository::class
|
||||
);
|
||||
|
||||
// Product Category
|
||||
$this->app->bind(
|
||||
ProductCategoryRepositoryInterface::class,
|
||||
ProductCategoryRepository::class
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user