Table of Contents

Interface IAuditLogService

Namespace
JJConsulting.Infinity.Domain.Contracts
Assembly
JJConsulting.Infinity.Domain.dll

Interface for managing audit log operations. Provides methods to log events and retrieve audit log entries.

public interface IAuditLogService

Methods

GetAllAsync(AuditLogQueryParameters)

Retrieves all audit log entries based on the specified query parameters asynchronously.

Task<List<AuditLogEntry>> GetAllAsync(AuditLogQueryParameters query)

Parameters

query AuditLogQueryParameters

The query parameters to filter the audit log entries.

Returns

Task<List<AuditLogEntry>>

A list of JJConsulting.Infinity.Domain.AuditLog.AuditLogEntry objects matching the query.

LogAsync(AuditLogRequest)

Logs an audit event asynchronously.

Task<InfinityResult> LogAsync(AuditLogRequest request)

Parameters

request AuditLogRequest

The audit log request containing event details.

Returns

Task<InfinityResult>

An JJConsulting.Infinity.Domain.Results.InfinityResult indicating the result of the operation.