[]
        
(Showing Draft Content)

C1.Web.Api.C1ApiController.CreatedAtRoute

CreatedAtRoute Method

CreatedAtRoute(string, object, object)

Creates a Microsoft.AspNetCore.Mvc.CreatedAtRouteResult object that produces a Created (201) response.

Declaration
public override CreatedAtRouteResult CreatedAtRoute(string routeName, object routeValues, object value)
Parameters
Type Name Description
string routeName

The name of the route to use for generating the URL.

object routeValues

The route data to use for generating the URL.

object value

The content value to format in the entity body.

Returns
Type Description
CreatedAtRouteResult

The created Microsoft.AspNetCore.Mvc.CreatedAtRouteResult for the response.

Overrides