<?php

namespace App\Http\Controllers\Rewards;

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

class CreateRewardController
{
    /**
     * @param Request $request
     * @param CreateRewardLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateRewardLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
