Rename ActionId to Id across the codebase

Updated the `ActionId` property to `Id` in `RecActionDto`
and `RecAction` classes for consistency. Reflected this
change in all relevant files, including log messages,
property assignments, and database column mappings.
Standardized naming conventions to improve code clarity
and maintainability.
This commit is contained in:
2025-12-01 12:30:57 +01:00
parent dc777a04f6
commit de17d398ff
5 changed files with 10 additions and 10 deletions

View File

@@ -33,9 +33,9 @@ public class InvokeRecActionsCommandHandler(ISender sender, IHttpClientFactory c
{
logger?.LogError(
ex,
"Error invoking Rec action. ProfileId: {ProfileId}, ActionId: {ActionId}",
"Error invoking Rec action. ProfileId: {ProfileId}, Id: {Id}",
action.ProfileId,
action.ActionId
action.Id
);
}
finally

View File

@@ -33,9 +33,9 @@ public class InvokeRecActionCommandHandler(
if (action.RestType is null)
{
logger?.LogWarning(
"Rec action could not be invoked because the RestType value is null. ProfileId: {ProfileId}, ActionId: {ActionId}",
"Rec action could not be invoked because the RestType value is null. ProfileId: {ProfileId}, Id: {Id}",
action.ProfileId,
action.ActionId
action.Id
);
return;
}
@@ -60,7 +60,7 @@ public class InvokeRecActionCommandHandler(
await sender.Send(new CreateOutResCommand
{
ActionId = action.ActionId,
ActionId = action.Id,
Header = JsonSerializer.Serialize(resHeaders, options: new() { WriteIndented = false }),
Body = resBody,
AddedWho = config?["AddedWho"]