3 instantiations of CreatedAtActionResult
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
2102=> new CreatedAtActionResult(actionName, controllerName, routeValues, value);
Microsoft.AspNetCore.Mvc.Core.Test (2)
CreatedAtActionResultTests.cs (2)
30var result = new CreatedAtActionResult( 52var result = new CreatedAtActionResult(
21 references to CreatedAtActionResult
Microsoft.AspNetCore.Mvc.Core (10)
ControllerBase.cs (9)
2068/// Creates a <see cref="CreatedAtActionResult"/> object that produces a <see cref="StatusCodes.Status201Created"/> response. 2072/// <returns>The created <see cref="CreatedAtActionResult"/> for the response.</returns> 2074public virtual CreatedAtActionResult CreatedAtAction(string? actionName, [ActionResultObjectValue] object? value) 2078/// Creates a <see cref="CreatedAtActionResult"/> object that produces a <see cref="StatusCodes.Status201Created"/> response. 2083/// <returns>The created <see cref="CreatedAtActionResult"/> for the response.</returns> 2085public virtual CreatedAtActionResult CreatedAtAction(string? actionName, object? routeValues, [ActionResultObjectValue] object? value) 2089/// Creates a <see cref="CreatedAtActionResult"/> object that produces a <see cref="StatusCodes.Status201Created"/> response. 2095/// <returns>The created <see cref="CreatedAtActionResult"/> for the response.</returns> 2097public virtual CreatedAtActionResult CreatedAtAction(
CreatedAtActionResult.cs (1)
22/// Initializes a new instance of the <see cref="CreatedAtActionResult"/> with the values
Microsoft.AspNetCore.Mvc.Core.Test (8)
ControllerBaseTest.cs (6)
1373var result = controller.CreatedAtAction("SampleAction", null); 1376Assert.IsType<CreatedAtActionResult>(result); 1392var result = controller.CreatedAtAction("SampleAction", controllerName, null, null); 1395Assert.IsType<CreatedAtActionResult>(result); 1413var result = controller.CreatedAtAction( 1419Assert.IsType<CreatedAtActionResult>(result);
CreatedAtActionResultTests.cs (2)
30var result = new CreatedAtActionResult( 52var result = new CreatedAtActionResult(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ControllerUnitTestabilityTests.cs (3)
406var createdAtActionResult = Assert.IsType<CreatedAtActionResult>(result); 422createdAtActionResult = Assert.IsType<CreatedAtActionResult>(result);