This commit is contained in:
CHIEFSOFT\ameye
2024-06-06 09:38:36 -04:00
parent 99801e83b2
commit 6c0f23fde0
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -130,4 +130,14 @@ public function employersList() :ResponseInterface {
return $this->respond($data, 200);
}
public function employerAdd():ResponseInterface{
$data = $this->request->getPost();
$insert_data = $data;
$result = $this-> insert_db('employers', $insert_data);
$result_data = [
'call_return' => '100',
'result' =>$result
];
return $this->respond($result_data, 200);
}
}