Skip to content

ResultWithStatus<TResponse> constructor

An action result type containing an object with a status code.

public ResultWithStatus(int statusCode, TResponse data)
parameter description
TResponse The response data type.
data The data object.
statusCode The status code.

Remarks

Initializes a new instance of the ResultWithStatus class.

See Also