app/Http/Controllers/LelangController.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()
    {
        $barang = Barang::orderBy('nama','ASC')->get();
        return view('lelang.create',[
            'barang' => $barang
        ]);
    }
public function create ( ) { $ barang = Barang :: orderBy ( 'nama' , 'ASC' ) -> get ( ) ; return view ( 'lelang.create' , [ 'barang' => $ barang ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .