<?php

namespace App\Http\Controllers\Milestones;

use App\Classes\Modules\Milestones\ControllersLogic\CreateMilestoneLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
