app/Http/Controllers/Api/BankAccountsController.php
/**
     * Update the specified resource in storage.
     *
     * @param  BankAccountUpdateRequest $request
     * @param  string $id
     *
     * @return Response
     */
Update the specified resource in storage.
@param  BankAccountUpdateRequest $request
@param  string $id

@return Response
Update the specified resource in storage . @param BankAccountUpdateRequest $request @param string $id @return Response
public function update(BankAccountUpdateRequest $request, $id)
    {
        $bankAccount = $this->repository->update($request->all(), $id);
        return response()->json($bankAccount);
    }
public function update ( BankAccountUpdateRequest $ request , $ id ) { $ bankAccount = $ this -> repository -> update ( $ request -> all ( ) , $ id ) ; return response ( ) -> json ( $ bankAccount ) ; }
Update the specified resource in storage.
Update the specified resource in storage .