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:
@@ -19,7 +19,7 @@ public class HeaderQueryBehavior<TRecAction>(IRecDbContext dbContext, ILogger<He
|
||||
|
||||
if (result?.RawHeader is null)
|
||||
{
|
||||
logger?.LogWarning("Header query did not return a result or returned a null REQUEST_HEADER. Profile ID: {ProfileId}, Action ID: {ActionId}", action.ProfileId, action.ActionId);
|
||||
logger?.LogWarning("Header query did not return a result or returned a null REQUEST_HEADER. Profile ID: {ProfileId}, Action ID: {Id}", action.ProfileId, action.Id);
|
||||
|
||||
return await next(cancel);
|
||||
}
|
||||
@@ -29,8 +29,8 @@ public class HeaderQueryBehavior<TRecAction>(IRecDbContext dbContext, ILogger<He
|
||||
if(headerDict is null)
|
||||
{
|
||||
logger?.LogWarning(
|
||||
"Header JSON deserialization returned null. RawHeader: {RawHeader}, ProfileId: {ProfileId}, ActionId: {ActionId}",
|
||||
result.RawHeader, action.ProfileId, action.ActionId);
|
||||
"Header JSON deserialization returned null. RawHeader: {RawHeader}, ProfileId: {ProfileId}, Id: {Id}",
|
||||
result.RawHeader, action.ProfileId, action.Id);
|
||||
|
||||
return await next(cancel);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
public record RecActionDto
|
||||
{
|
||||
public required long ActionId { get; init; }
|
||||
public required long Id { get; init; }
|
||||
|
||||
public long? ProfileId { get; init; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user