<?php

namespace App\Classes\Modules\ControllersLogic\Companies\AddressBook;

use App\Classes\Modules\AddressBook\Services\UpdatesAddressBook;
use Illuminate\Http\Request;

class UpdateAddressBookLogic
{
    /** @var  UpdatesAddressBook */
    private $UpdatesAddressBook;

    /**
     * UpdateAddressBookLogic constructor.
     * @param UpdatesAddressBook $UpdatesAddressBook
     */
    public function __construct(UpdatesAddressBook $UpdatesAddressBook)
    {
        $this->UpdatesAddressBook = $UpdatesAddressBook;
    }


    public function execute(String $companyId,  Request $request){

        return $this->UpdatesAddressBook->execute($companyId, $request);

    }

}