<?php

namespace App\Http\Controllers\Remarks;

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

class CreateRemarkController
{
    /**
     * @param Request $request
     * @param CreateRemarkLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateRemarkLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
