<?php

namespace App\Http\Controllers\Addresses;

use App\Classes\Modules\Addresses\ControllersLogic\ListStatesLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}