Пример #1
0
 public function delete($id)
 {
     return parent::notAllowed();
 }
Пример #2
0
 /**
  * PUT
  * <h2>PUT admin/absencereason/:id</h2>
  * <h3>URL Parameters</h3>
  * <code>id(integer)*</code>
  * <h3>Body</h3>
  * <code>Not allowed</code>
  * 
  * @param type $id
  * @param type $data
  * @return JsonModel
  */
 public function update($id, $data)
 {
     return parent::notAllowed();
 }