<?php
namespace Modules\GestorY\Controllers;

use Gestoreasy\Core\View\View;
use Gestoreasy\Core\Http\Request;
use Gestoreasy\Core\Http\Response;

class GestorYViewsController {
    public function viewIndex(): Response {
        return View::renderWithLayout('gestory/index', ['title' => 'Gestor-Y - Catálogo Yamaha']);
    }

    public function viewPesquisa(): Response {
        return View::renderWithLayout('gestory/pesquisa', ['title' => 'Pesquisar Peças Yamaha']);
    }

    public function viewConfig(): Response {
        return View::renderWithLayout('gestory/config', ['title' => 'Configurações Gestor-Y']);
    }

    public function viewLogs(): Response {
        return View::renderWithLayout('gestory/logs', ['title' => 'Logs Gestor-Y']);
    }
}

