public function actionUpdateMerchant() { $data = yii::$app->request->post(); $merchant = new Merchant(); $merchant->updateMerchant($data); }