[]
        
(Showing Draft Content)

C1.Web.Api.C1ApiController.CreatedAtAction

CreatedAtAction Method

CreatedAtAction(string, string, object, object)

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

Declaration
public override CreatedAtActionResult CreatedAtAction(string actionName, string controllerName, object routeValues, object value)
Parameters
Type Name Description
string actionName

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

string controllerName

The name of the controller 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
CreatedAtActionResult

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

Overrides