mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-23 06:23:59 +00:00
create new contact recode and clean up
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Contacts;
|
||||
|
||||
|
||||
use App\Classes\Constants;
|
||||
use App\Modules\ControllerLogic\Contacts\CreateContactLogic;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class CreateContactController
|
||||
{
|
||||
|
||||
public function create(string $type, int $referenceId, Request $request, CreateContactLogic $logic){
|
||||
return $logic->execute(Constants::MODULE_TYPES[$type], $referenceId, $request);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user