app/Http/Controllers/Hospital/HospitalController.php
//get all the doctors who work in the hospital according to her name
get all the doctors who work in the hospital according to her name
get all the doctors who work in the hospital according to her name
public function doctors($hospital_name)
    {
        $response=$this->HospitalService->hospitalsDoctor($hospital_name);
        return  response($response,200)
            ->header('Access-control-Allow-Origin','*')
            ->header('Access-control-Allow-Methods','*');
    }
public function doctors ( $ hospital_name ) { $ response = $ this -> HospitalService -> hospitalsDoctor ( $ hospital_name ) ; return response ( $ response , 200 ) -> header ( 'Access-control-Allow-Origin' , '*' ) -> header ( 'Access-control-Allow-Methods' , '*' ) ; }
get all the doctors who work in the hospital according to her name
get all the doctors who work in the hospital according to her name