[]
        
(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)
Public Overrides Function CreatedAtRoute(routeName As String, routeValues As Object, value As Object) As CreatedAtRouteResult
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