mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
17 lines
418 B
PHP
17 lines
418 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Contacts;
|
|
|
|
|
|
use App\Classes\Constants;
|
|
use App\Modules\ControllerLogic\Contacts\UpdateContactLogic;
|
|
use Illuminate\Http\Request;
|
|
|
|
class UpdateContactController
|
|
{
|
|
public function update(string $type, string $referenceId, int $id, Request $request, UpdateContactLogic $logic){
|
|
|
|
return $logic->execute($id,$referenceId, Constants::MODULE_TYPES[$type], $request);
|
|
}
|
|
|
|
} |