Added a comment to show how it could work with webapi