/** * 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'); }
/** * 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!'); }