DonorController

public function store(Request $request)

store Function :  Through store Function Donor data is saved in donor table

 

public function lookup(Request $request)

Lookup Function: Lookup Function generates the Donor Report

 

public function show(Donor$donor)

Show Function : In the View Mode of Donor form, the Show function displays all details of the Donor form.

 

public function edit(Donor$donor)

edit Function : You can edit the entire details of the Donor  form when editing in edit mode by using the Edit Function

 

public function destroy(Donor$donor)

destroy Function : The Destroy Function allows the deletion of all Donor form details

 

public function validation($request, $id = null)

validation Function : Data is validated before saving using this function.

Was this page helpful?