<?php

namespace App\Http\Controllers\Accounts;

use App\Classes\Modules\Accounts\ControllersLogic\ResendEmailVerificationLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ResendEmailVerificationController
{

    /**
     * @param Request $request
     * @param ResendEmailVerificationLogic $logic
     * @return JsonResponse
     */
    public function resend(Request $request, ResendEmailVerificationLogic $logic): JsonResponse  {
        return $logic->execute($request);
    }
}