<?php

namespace App\Http\Controllers\Remarks;

use App\Classes\Modules\Remarks\ControllersLogic\FetchRemarkLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class FetchRemarkController
{
    /**
     * @param Request $request
     * @param FetchRemarkLogic $logic
     * @return JsonResponse
     */
    public function fetch(Request $request, FetchRemarkLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
