app/Http/Controllers/CodsController.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()
    {
        $cod = cod::orderBy('numero')->get();
        return view('cod.create')->with('cod', $cod);
    }
public function create ( ) { $ cod = cod :: orderBy ( 'numero' ) -> get ( ) ; return view ( 'cod.create' ) -> with ( 'cod' , $ cod ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .