Class GetApiKeysForAdmin.Handler
- Namespace
- Raytha.Application.Admins.Queries
- Assembly
- Raytha.Application.dll
public class GetApiKeysForAdmin.Handler : IRequestHandler<GetApiKeysForAdmin.Query, IQueryResponseDto<ListResultDto<ApiKeyDto>>>
- Inheritance
-
GetApiKeysForAdmin.Handler
- Implements
- Inherited Members
Constructors
Handler(IRaythaDbContext)
public Handler(IRaythaDbContext db)
Parameters
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<ListResultDto<ApiKeyDto>>> Handle(GetApiKeysForAdmin.Query request, CancellationToken cancellationToken)
Parameters
request
GetApiKeysForAdmin.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<ListResultDto<ApiKeyDto>>>
Response from the request