mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-08-02 03:16:27 -04:00
43 lines
832 B
PHP
43 lines
832 B
PHP
<?php
|
|
namespace Modules\GST\Services;
|
|
|
|
use Illuminate\Support\Facades\Validator;
|
|
use Modules\GST\Repositories\GstRepository;
|
|
use Illuminate\Support\Arr;
|
|
|
|
class GSTService
|
|
{
|
|
protected $gstRepository;
|
|
|
|
public function __construct(GstRepository $gstRepository)
|
|
{
|
|
$this->gstRepository = $gstRepository;
|
|
}
|
|
|
|
public function getAllList()
|
|
{
|
|
return $this->gstRepository->getAllList();
|
|
}
|
|
|
|
public function getActiveList()
|
|
{
|
|
return $this->gstRepository->getActiveList();
|
|
}
|
|
|
|
public function create($data)
|
|
{
|
|
return $this->gstRepository->create($data);
|
|
}
|
|
|
|
public function update($data, $id)
|
|
{
|
|
return $this->gstRepository->update($data, $id);
|
|
}
|
|
|
|
public function delete($id)
|
|
{
|
|
return $this->gstRepository->delete($id);
|
|
}
|
|
|
|
}
|