public function showpersyaratan(Request $request) { $input = $request->all(); $mahasiswa = Models\persyaratan::getAbsen($input['jurusan'], $input['bulan'], $input['tahun']); return response()->json($mahasiswa); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { // $persyaratan = persyaratan::find($id); if ($persyaratan->delete()) { return response()->json(array('success' => TRUE)); } }