mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
Cleaned-BackEnd-Contact
This commit is contained in:
@@ -9,13 +9,15 @@
|
||||
namespace App\Http\Controllers\Contacts;
|
||||
|
||||
|
||||
use App\Classes\Constants;
|
||||
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);
|
||||
public function update(string $type, string $referenceId, int $id, Request $request, UpdateContactLogic $logic){
|
||||
|
||||
return $logic->execute($id,$referenceId, Constants::MODULE_TYPES[$type], $request);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user