From 5b16d195413d164180f243f203db3684a9da776c Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 3 Dec 2025 10:39:34 +0100 Subject: [PATCH] Rename ActionController to RecActionController The `ActionController` class was removed and replaced with a new `RecActionController` class. The new class retains the same functionality, methods (`Invoke`, `CreateAction`, `CreateFakeAction`), and dependencies as the removed class. The namespace (`ReC.API.Controllers`) and route attributes remain unchanged. Dependency injection for `IMediator` is preserved. This change is primarily a renaming of the controller to better align with its purpose while maintaining existing behavior. --- .../Controllers/{ActionController.cs => RecActionController.cs} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/ReC.API/Controllers/{ActionController.cs => RecActionController.cs} (96%) diff --git a/src/ReC.API/Controllers/ActionController.cs b/src/ReC.API/Controllers/RecActionController.cs similarity index 96% rename from src/ReC.API/Controllers/ActionController.cs rename to src/ReC.API/Controllers/RecActionController.cs index a6ae6ab..a1f3795 100644 --- a/src/ReC.API/Controllers/ActionController.cs +++ b/src/ReC.API/Controllers/RecActionController.cs @@ -9,7 +9,7 @@ namespace ReC.API.Controllers; [Route("api/[controller]")] [ApiController] -public class ActionController(IMediator mediator) : ControllerBase +public class RecActionController(IMediator mediator) : ControllerBase { [HttpPost("{profileId}")] public async Task Invoke([FromRoute] int profileId)