/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $loan = new Loan(); if ($loan->destroy($id)) { return "success"; } }