<?php

namespace App\Http\Controllers\Segments;

use App\Classes\Modules\Segments\ControllersLogic\UpdateConstantPostcodeLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UpdateConstantPostcodeController
{
    /**
     * @param Request $request
     * @param UpdateConstantPostcodeLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateConstantPostcodeLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}