feat(history): add energy price history feature
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
namespace App\Features\Dashboard\Controllers;
|
||||
|
||||
use App\Features\Dashboard\Data\DashboardData;
|
||||
use App\Features\Dashboard\Services\DashboardService;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class DashboardController extends Controller
|
||||
{
|
||||
public function index(DashboardService $dashboardService)
|
||||
public function index(DashboardService $dashboardService): DashboardData
|
||||
{
|
||||
return $dashboardService->getDashboardData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user