<?php

namespace App\Http\Controllers\Schedules;

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

class DeleteScheduleController
{
    /**
     * @param Request $request
     * @param DeleteScheduleLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteScheduleLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
