/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $payment_type = PaymentType::find($id); if (isset($payment_type)) { $payment_type->delete(); } }