public function actionSrchRes()
 {
     $data = Yii::$app->request->post();
     $city = $this->pval($data['city']);
     $brand = $this->pval($data['brand']);
     $service = $this->pval($data['service']);
     $district = $this->pval($data['district']);
     $name = $this->pval($data['name']);
     $address = $this->pval($data['address']);
     $twfhr = $this->pval($data['twfhr']);
     $company = new Company();
     $srchres = $company->getSrchRes($city, $brand, $service, $district, $name, $address, $twfhr);
     Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
     $responce = ['srchres' => $srchres];
     return $responce;
 }