<?php

namespace App\Http\Controllers\Rewards;

use App\Classes\Modules\Rewards\ControllersLogic\DeleteRewardLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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