<?php

namespace App\Http\Controllers\Remarks;

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

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

}
