diff --git a/src/ReC.API/Controllers/RecActionController.cs b/src/ReC.API/Controllers/RecActionController.cs index d626636..a98d57c 100644 --- a/src/ReC.API/Controllers/RecActionController.cs +++ b/src/ReC.API/Controllers/RecActionController.cs @@ -73,7 +73,7 @@ public class RecActionController(IMediator mediator, IConfiguration config) : Co /// An HTTP 201 Created response. [HttpPost] [ProducesResponseType(StatusCodes.Status201Created)] - public async Task CreateAction([FromBody] InsertActionProcedure command, CancellationToken cancel) + public async Task Create([FromBody] InsertActionProcedure command, CancellationToken cancel) { await mediator.ExecuteInsertProcedure(command, config["AddedWho"], cancel); @@ -89,7 +89,7 @@ public class RecActionController(IMediator mediator, IConfiguration config) : Co /// No content on success. [HttpPut("{id:long}")] [ProducesResponseType(StatusCodes.Status204NoContent)] - public async Task UpdateAction([FromRoute] long id, [FromBody] UpdateActionProcedure procedure, CancellationToken cancel) + public async Task Update([FromRoute] long id, [FromBody] UpdateActionProcedure procedure, CancellationToken cancel) { await mediator.ExecuteUpdateProcedure(procedure, id, cancel: cancel); return NoContent();