<?php

namespace App\Http\Controllers\Schedules;

use App\Classes\Modules\Schedules\ControllersLogic\ListSchedulesLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ListSchedulesController
{
    /**
     * @param Request $request
     * @param ListSchedulesLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListSchedulesLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
