<?php

namespace App\Http\Controllers\Account;


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

class ResetPasswordController
{

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

}