Convert StatusCode to int on Header in BaseModel