<?php

namespace App\Http\Controllers\Addresses;

use App\Classes\Modules\Addresses\ControllersLogic\CreateBillingAddressLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}