public function getHapus($id)
 {
     $val = explode(",", $id);
     foreach ($val as $value) {
         AirTawar::where('id', $value)->delete();
     }
     return redirect()->route('airtawar')->with(session()->flash('success', 'Data Berhasil Terhapus !!'));
 }
 public function getDetailDesa($id)
 {
     $data['desa'] = Desa::find($id);
     $data['airtawar'] = AirTawar::where('desa', $id)->get();
     $data['rumputlaut'] = RumputLaut::where('desa', $id)->get();
     $data['tambak'] = Tambak::where('desa', $id)->get();
     $data['mangrovemilik'] = MangroveMilik::where('desa', $id)->get();
     $data['mangroverehabilitasi'] = MangroveRehabilitasi::where('desa', $id)->get();
     $data['terumbumilik'] = TerumbuMilik::where('desa', $id)->get();
     $data['terumburehabilitasi'] = TerumbuRehabilitasi::where('desa', $id)->get();
     return view('app.statistik.detail-desa', $data);
 }