<?php

namespace App\Http\Controllers\Milestones;

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

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

}
