/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     //
     $unitkerja = UnitKerja::find($id);
     UnitKerja::where('parent_unit', $id)->update(array('parent_unit' => 0));
     if ($unitkerja->delete()) {
         return Response::json(array('success' => TRUE));
     }
 }