<?php

namespace App\Http\Controllers\Milestones;

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

class ListMilestonesController
{
    /**
     * @param Request $request
     * @param ListMilestonesLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListMilestonesLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
