[]
Creates a Microsoft.AspNetCore.Mvc.ObjectResult object by specifying a statusCode and value
public override ObjectResult StatusCode(int statusCode, object value)
| Type | Name | Description |
|---|---|---|
| int | statusCode | The status code to set on the response. |
| object | value | The value to set on the Microsoft.AspNetCore.Mvc.ObjectResult. |
| Type | Description |
|---|---|
| ObjectResult | The created Microsoft.AspNetCore.Mvc.ObjectResult object for the response. |