/** * Destroy Section * * Return Illuminate response (JSON & HTTP code) */ public function destroy($id) { return $this->pageRepository->destroy(new Page(), $id); }
/** * Destroy Project * * Return Illuminate response (JSON & HTTP code) */ public function destroy($id) { return $this->projectRepository->destroy(new Project(), $id); }
/** * Destroy Tag * * Return Illuminate response (JSON & HTTP code) */ public function destroy($id) { return $this->tagRepository->destroy(new Tag(), $id); }
/** * Destroy Section * * Return Illuminate response (JSON & HTTP code) */ public function destroy($id) { return $this->restfulRepository->destroy(new Section(), $id); }