/** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param int $id * @return \Illuminate\Http\Response */ public function update(UpdateDoctorRequest $request, $doctor) { return Doctor::updateDoctor($request, $doctor); }