Rename Trigger method to Invoke in ActionController
The `Trigger` method in the `ActionController` class was renamed to `Invoke`. This change updates the HTTP POST endpoint that accepts a `profileId` as a route parameter. The method's functionality remains unchanged, as it still throws a `NotImplementedException`.
This commit is contained in:
parent
2af140db96
commit
b94a620389
@ -7,7 +7,7 @@ namespace ReC.API.Controllers;
|
|||||||
public class ActionController : ControllerBase
|
public class ActionController : ControllerBase
|
||||||
{
|
{
|
||||||
[HttpPost("{profileId}")]
|
[HttpPost("{profileId}")]
|
||||||
public Task<IActionResult> Trigger([FromRoute] int profileId)
|
public Task<IActionResult> Invoke([FromRoute] int profileId)
|
||||||
{
|
{
|
||||||
// Implementation for retrieving actions would go here.
|
// Implementation for retrieving actions would go here.
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user