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
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<ListResultDto<AuditLogDto>>> Handle(GetAuditLogs.Query request, CancellationToken cancellationToken)
Parameters
request
GetAuditLogs.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<ListResultDto<AuditLogDto>>>
Response from the request