<?php

namespace App\Http\Controllers\Schedules;

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

class CreateScheduleController
{
    /**
     * @param Request $request
     * @param CreateScheduleLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateScheduleLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
