コード例 #1
0
 /**
  * @return SS_HTTPResponse
  */
 public function deleteCompanyService()
 {
     try {
         $company_service_id = intval($this->request->param('COMPANY_SERVICE_ID'));
         $this->manager->unRegister($this->factory->buildCompanyServiceById($company_service_id));
         return $this->deleted();
     } catch (NotFoundEntityException $ex1) {
         SS_Log::log($ex1, SS_Log::ERR);
         return $this->notFound($ex1->getMessage());
     } catch (Exception $ex) {
         SS_Log::log($ex, SS_Log::ERR);
         return $this->serverError();
     }
 }