Table of Contents

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

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ListResultDto<ApiKeyDto>>> Handle(GetApiKeysForAdmin.Query request, CancellationToken cancellationToken)

Parameters

request GetApiKeysForAdmin.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<ApiKeyDto>>>

Response from the request