/**
  * Deletes an existing SdaSchedules model.
  * If deletion is successful, the browser will be redirected to the 'index' page.
  * @param integer $id
  * @return mixed
  */
 public function actionDelete($id)
 {
     $sda = \backend\models\SdaSchedules::find()->where(['id' => $id])->one();
     $sda = $sda->sda_id;
     $this->findModel($id)->delete();
     return $this->redirect(['index', 'id' => $sda]);
 }