<?php

namespace App\Http\Controllers;

use App\Services\WeatherService;

class DashboardWeatherController extends Controller
{
    public function weather(WeatherService $weatherService)
    {
        $forecasts = $weatherService->getWeeklyForecast();

        return view('dashboard.partials.weather', compact('forecasts'));
    }
}
