app/Http/Controllers/Api/TransactionController.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()
    {
        $transactions = TransactionType::all();
        return view('transactions.create',['transactions' => $transactions]);
    }
public function create ( ) { $ transactions = TransactionType :: all ( ) ; return view ( 'transactions.create' , [ 'transactions' => $ transactions ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .