Exemple #1
0
 /**
  * Deletes a category by its associated id
  * 
  * @param string $id
  * @return boolean
  */
 public function deleteById($id)
 {
     return $this->answerMapper->deleteAllByCategoryId($id) && $this->categoryMapper->deleteById($id);
 }