employer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user