Table of Contents

Interface IApplicationMutationAuditReceiptRegistry

Namespace
ProjectTemplate.Infrastructure.Data.Auditing
Assembly
ProjectTemplate.Infrastructure.dll

Resolves the most recently completed mutation audit receipt for a specific application database context.

public interface IApplicationMutationAuditReceiptRegistry

Methods

GetLastCompletedReceipt(ApplicationDbContext)

Gets the most recently completed receipt produced by dbContext.

ApplicationMutationAuditReceipt? GetLastCompletedReceipt(ApplicationDbContext dbContext)

Parameters

dbContext ApplicationDbContext

The application database context whose receipt should be resolved.

Returns

ApplicationMutationAuditReceipt

The context-specific receipt, or null when the context has not completed an audited save.