<?php

namespace App\Http\Controllers\Schedules;

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

class UpdateScheduleController
{
    /**
     * @param Request $request
     * @param UpdateScheduleLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateScheduleLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
