diff --git a/src/ReC.API/Controllers/ProfileController.cs b/src/ReC.API/Controllers/ProfileController.cs index 54568fd..6442399 100644 --- a/src/ReC.API/Controllers/ProfileController.cs +++ b/src/ReC.API/Controllers/ProfileController.cs @@ -29,7 +29,7 @@ public class ProfileController(IMediator mediator) : ControllerBase public async Task Post([FromBody] InsertProfileProcedure procedure, CancellationToken cancel) { var id = await mediator.ExecuteInsertProcedure(procedure, cancel: cancel); - return StatusCode(StatusCodes.Status201Created, id); + return CreatedAtAction(nameof(Get), new { id }, id); } ///