public function actionDelete($id)
 {
     $params = $this->getParams();
     if (!isset($params['propertyId'])) {
         throw new BadRequestHttpException("propertyId params missing");
     }
     $accountId = $this->getAccountId();
     self::checkReversationProperty($id, $params['propertyId'], $accountId);
     $productcategory = CategoryProperty::removeProperty($id, $params['propertyId'], $accountId);
     CategoryProperty::updateProductProperty($params['propertyId'], new MongoId($id), 'delete');
     Yii::$app->getResponse()->setStatusCode(204);
 }