public function actionAdd() { $model = new EmployeeModel(); $model->load(\Yii::$app->request->post()); $model->add(); }