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

33 lines
793 B
PHP

<?php
namespace Modules\AdminReport\Services;
use Modules\AdminReport\Repositories\SellerReportRepository;
class SellerReportService
{
protected $sellerReportRepo;
public function __construct(SellerReportRepository $sellerReportRepo)
{
$this->sellerReportRepo = $sellerReportRepo;
}
public function topCustomer()
{
return $this->sellerReportRepo->topCustomer();
}
public function topSellingItem()
{
return $this->sellerReportRepo->topSellingItem();
}
public function review()
{
return $this->sellerReportRepo->review();
}
public function products()
{
return $this->sellerReportRepo->products();
}
public function order()
{
return $this->sellerReportRepo->order();
}
}