<?php

namespace App\Http\Controllers\Rewards;

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

class ListRewardsController
{
    /**
     * @param Request $request
     * @param ListRewardsLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListRewardsLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
