Commit 9a4c1eb9 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлено удаление данных

parent 934dd3a1
......@@ -93,6 +93,16 @@ class BidAdminController extends AdminController {
}
}
/**
* @param $id
* @return \yii\web\Response
*/
public function actionDelete($id){
$this->findModel($id)->delete();
return $this->redirect(['manage']);
}
/**
* @param $id
* @return null|BlogBids
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment