Adds getData method for edit action
Merge pull request #39 from jonasdekeukelaere/feature-get-data-edit-action

Adds getData method for edit action