<?php

namespace App\Http\Controllers\Accounts;

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

class DeleteUserController
{
    /**
     * @param Request $request
     * @param DeleteUserLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteUserLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}