Add method to get status code
Modify response of a CRUD operation only when it is successfully processed