update contact recode and clean up

This commit is contained in:
hazim
2019-03-07 15:31:16 +08:00
parent 4848e1bd5b
commit 46fe8430ef
16 changed files with 572 additions and 6 deletions
@@ -0,0 +1,21 @@
<?php
/**
* Created by PhpStorm.
* User: user
* Date: 05/03/2019
* Time: 2:30 PM
*/
namespace App\Http\Controllers\Contacts;
use App\Modules\ControllerLogic\Contacts\UpdateContactLogic;
use Illuminate\Http\Request;
class UpdateContactController
{
public function update(int $id,Request $request, UpdateContactLogic $logic){
return $logic->execute($id, $request);
}
}