Cleaned-BackEnd-Contact

This commit is contained in:
hazim
2019-05-09 12:26:14 +08:00
parent 039827f0c9
commit 1e751ecc32
16 changed files with 110 additions and 157 deletions
@@ -0,0 +1,35 @@
<?php
/**
* Created by PhpStorm.
* User: user
* Date: 09/05/2019
* Time: 11:51 AM
*/
namespace App\Modules\ControllerLogic\Contacts;
use App\Classes\Modules\Contacts\Services\DeletesContact;
class DeleteContactLogic
{
/** @var DeletesContact */
private $DeletesContact;
/**
* DeleteContactLogic constructor.
* @param DeletesContact $DeletesContact
*/
public function __construct(DeletesContact $DeletesContact)
{
$this->DeletesContact = $DeletesContact;
}
public function execute(String $id){
return $this->DeletesContact->execute($id);
}
}