return new ObjectResult(details) { ContentTypes = { "application/problem+json" }, StatusCode = details.Status, };