point-backend/app/Http/Controllers/Dashboard/HomeController.php
KarimAldeen cf43e0b8d0 Done
2024-04-17 00:25:45 +03:00

21 lines
409 B
PHP

<?php
namespace App\Http\Controllers\Dashboard;
use App\Http\Controllers\Controller;
use App\Services\HomeService;
class HomeController extends Controller{
public function __construct(protected HomeService $service) {
}
public function index(){
$data = $this->service->getHomeStatics();
return $this->sendResponse(("get_data_successfully") ,$data);
}
}