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:
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user