<?php

namespace App\Http\Controllers\Contacts;

use App\Classes\Modules\Contacts\ControllersLogic\DeleteContactLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class DeleteContactController
{
    /**
     * @param Request $request
     * @param DeleteContactLogic $logic
     * @return JsonResponse
     */
    public function destroy(Request $request, DeleteContactLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}