<?php

namespace App\Http\Controllers\Accounts;

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

class GeneratePasswordResetController
{

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