Files
wticreatorstudio/Modules/GST/Services/GSTService.php
T
2024-02-12 22:54:20 -05:00

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);
}
}