<?php

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


use App\Classes\Modules\AddressBook\Services\DeletesAddressBook;

class DeleteAddressBookLogic
{
    /** @var  DeletesAddressBook */
    private $DeletesAddressBook;

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

    public function execute(String $companyId, String $id){

        return $this->DeletesAddressBook->execute($id, $companyId);
    }
}