core: entity mapping - support void return type on resource endpoints

Allow to override http success status