add error response (204) to ObjectController
check if result is not None
reset result check
Merge pull request #49 from ednad/postgres

add error response (204) to ObjectController