/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id, $hari)
 {
     OFaskes::kodeFaskes($id)->hari($hari)->delete();
     return redirect('faskes/' . $id . '/open')->with('message', 'Data berhasil diUbah');
 }
示例#2
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id, $hari)
 {
     OFaskes::kodeFaskes($id)->hari($hari)->delete();
     return redirect('faskes')->with('message', 'Data berhasil dihapus!');
 }