[]
        
(Showing Draft Content)

C1.Web.Api.C1ApiController.Created

Created Method

Created<T>(Uri, T)

Creates a System.Web.Http.Results.CreatedNegotiatedContentResult`1 (201 Created) with the specified values.

Declaration
protected override CreatedNegotiatedContentResult<T> Created<T>(Uri location, T content)
Parameters
Type Name Description
Uri location

The location at which the content has been created.

T content

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

Returns
Type Description
CreatedNegotiatedContentResult<T>

A System.Web.Http.Results.CreatedNegotiatedContentResult`1 with the specified values.

Type Parameters
Name Description
T

The type of content in the entity body.