/**
  * @param $id
  * @return bool
  * Метод для удаления определенного товара
  */
 public function actionDelete($id)
 {
     if (isset($_POST['submit_del'])) {
         Product::removeProductById($id);
         header("Location: /admin/product");
     } elseif (isset($_POST['submit_cancel'])) {
         header("Location: /admin/product");
     }
     $args = array('id' => $id);
     return self::render('delete', $args);
 }