         else
             send bas, 201
 
-action 'delete', ->
+action 'destroy', ->
     @ba.destroy (err) ->
         if err?
             send error: true, msg: "Server error while deleting the bank account", 500

        else
            @ba = ba
            next()
, only: ['show', 'delete', 'getOperations']




            send error: true, msg: 'Server error occurred while retrieving data', 500
        else
            send bo, 200
