mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-14 09:01:42 -04:00
41 lines
827 B
PHP
41 lines
827 B
PHP
<?php
|
|
|
|
namespace Modules\StudioPlus\Services;
|
|
|
|
use Modules\StudioPlus\Repositories\VideoResolutionsRepository;
|
|
|
|
class VideoResolutionsService
|
|
{
|
|
protected $repository;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->repository = new VideoResolutionsRepository();
|
|
}
|
|
|
|
public function getAll()
|
|
{
|
|
return $this->repository->getAll();
|
|
}
|
|
|
|
public function getActive()
|
|
{
|
|
return $this->repository->getActive();
|
|
}
|
|
|
|
public function store($request): array
|
|
{
|
|
return $this->repository->store($request);
|
|
}
|
|
|
|
public function update($request): array
|
|
{
|
|
return $this->repository->update($request);
|
|
}
|
|
|
|
public function destroy($request): array
|
|
{
|
|
return $this->repository->destroy($request);
|
|
}
|
|
}
|