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:
tekh 2025-11-25 13:44:31 +01:00
parent 2af140db96
commit b94a620389

View File

@ -7,7 +7,7 @@ namespace ReC.API.Controllers;
public class ActionController : ControllerBase
{
[HttpPost("{profileId}")]
public Task<IActionResult> Trigger([FromRoute] int profileId)
public Task<IActionResult> Invoke([FromRoute] int profileId)
{
// Implementation for retrieving actions would go here.
throw new NotImplementedException();