app/Http/Controllers/SupervisorController.php
/**
     * Metodo para crear un supervisor
     *
     * @return \Illuminate\Http\Response
     */
Metodo para crear un supervisor
@return \Illuminate\Http\Response
Metodo para crear un supervisor @return \ Illuminate \ Http \ Response
public function create(Request $request)
    {
        try {
            $supervisor = Supervisor::create($request->all());
            return response()->json($supervisor, 201);
        } catch (\Exception $th) {
            return $th->getMessage();
        }
    }
public function create ( Request $ request ) { try { $ supervisor = Supervisor :: create ( $ request -> all ( ) ) ; return response ( ) -> json ( $ supervisor , 201 ) ; } catch ( \ Exception $ th ) { return $ th -> getMessage ( ) ; } }
Metodo para crear un supervisor
 @return \Illuminate\Http\Response
Metodo para crear un supervisor @return \ Illuminate \ Http \ Response