[]
        
(Showing Draft Content)

C1.Web.Api.C1ApiController.Ok

Ok Method

Ok<T>(T)

Creates an System.Web.Http.Results.OkNegotiatedContentResult`1 with the specified values.

Declaration
protected override OkNegotiatedContentResult<T> Ok<T>(T content)
Parameters
Type Name Description
T content

The content value to negotiate and format in the entity body.

Returns
Type Description
OkNegotiatedContentResult<T>

An System.Web.Http.Results.OkNegotiatedContentResult`1 with the specified values.

Type Parameters
Name Description
T

The type of content in the entity body.