public function actionIndex()
 {
     $query = Service::find()->with(['image', 'category']);
     $countQuery = clone $query;
     $pages = new Pagination(['totalCount' => $countQuery->count(), 'pageSize' => \Yii::$app->params['pageSize']]);
     $items = $query->offset($pages->offset)->limit($pages->limit)->orderBy('id DESC')->all();
     $this->layout = '//default';
     return $this->render('index', ['items' => $items, 'pages' => $pages]);
 }