Moving response logic from CrudController to ResponseService.