public function actionDelete() { $blog = Blog::findByPk($this->container->request->query('id'), $this->container); return $blog->delete(); }