app/Http/Controllers/ServiceTypesController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $serviceType = new ServiceType;
        return [
            'view' => view( 'serviceTypes.create', compact('serviceType'))->render(),
        ];
    }
public function create ( ) { $ serviceType = new ServiceType ; return [ 'view' => view ( 'serviceTypes.create' , compact ( 'serviceType' ) ) -> render ( ) , ] ; }
Show the form for creating a new resource.
Show the form for creating a new resource .