Table of Contents

Class GetAuditLogs.Handler

Namespace
Raytha.Application.AuditLogs.Queries
Assembly
Raytha.Application.dll
public class GetAuditLogs.Handler : IRequestHandler<GetAuditLogs.Query, IQueryResponseDto<ListResultDto<AuditLogDto>>>
Inheritance
GetAuditLogs.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ListResultDto<AuditLogDto>>> Handle(GetAuditLogs.Query request, CancellationToken cancellationToken)

Parameters

request GetAuditLogs.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<AuditLogDto>>>

Response from the request