controllers/actions/DeleteAction.php
public function run($id)
    {
        $this->controller->findModel($id)->delete();

        return $this->controller->redirect(['list']);
    }
public function run($id)
    {
        $this->controller->findModel($id)->delete();

        return $this->controller->redirect(['list']);
    }
public function run ( $ id ) { $ this -> controller -> findModel ( $ id ) -> delete ( ) ; return $ this -> controller -> redirect ( [ 'list' ] ) ; }
Deletes an existing Language model.
If deletion is successful, the browser will be redirected to the 'list' page.

@param string $id

@return mixed
Deletes an existing Language model . If deletion is successful the browser will be redirected to the list page .