Method ResolveActionResult
ResolveActionResult(object?)
Resolves the specified object into an valid HttpResponse using the defined value handlers or throws an exception if not possible.
public HttpResponse ResolveActionResult(object? result)
Parameters
result
objectThe object that will be converted to an valid HttpResponse.
Returns
Remarks
This method can throw exceptions. To avoid exceptions while trying to convert the specified object into an HttpResponse, consider using TryResolveActionResult(object?, out HttpResponse?).