<?php

namespace App\Http\Controllers\Milestones;

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

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