<?php


namespace App\Http\Controllers\Transactions;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Transactions\ControllersLogic\CreateSupplierTransactionLogic;


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