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.
This commit is contained in:
parent
b5b1f53e21
commit
5b16d19541
@ -9,7 +9,7 @@ namespace ReC.API.Controllers;
|
|||||||
|
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
public class ActionController(IMediator mediator) : ControllerBase
|
public class RecActionController(IMediator mediator) : ControllerBase
|
||||||
{
|
{
|
||||||
[HttpPost("{profileId}")]
|
[HttpPost("{profileId}")]
|
||||||
public async Task<IActionResult> Invoke([FromRoute] int profileId)
|
public async Task<IActionResult> Invoke([FromRoute] int profileId)
|
||||||
Loading…
x
Reference in New Issue
Block a user