Example #1
0
 public function delete_doctor($dr_id)
 {
     $doctor = Doctor::whereDr_id($dr_id)->firstOrFail();
     $doctor->delete();
     return redirect('/all_doctors')->with('status', 'Information of doctor has been deleted!');
 }