Table of Contents

Class GetAllPlansQueryHandler

Namespace
KadicAuth.Application.Plans.Queries
Assembly
KadicAuth.Application.dll
public sealed class GetAllPlansQueryHandler : IRequestHandler<GetAllPlansQuery, PaginatorResponseDto<PlanDto>>
Inheritance
object
GetAllPlansQueryHandler
Implements
IRequestHandler<GetAllPlansQuery, PaginatorResponseDto<PlanDto>>

Constructors

GetAllPlansQueryHandler(IPlanRepository)

public GetAllPlansQueryHandler(IPlanRepository planRepository)

Parameters

planRepository IPlanRepository

Methods

Handle(GetAllPlansQuery, CancellationToken)

Handles a request

public Task<PaginatorResponseDto<PlanDto>> Handle(GetAllPlansQuery request, CancellationToken cancellationToken)

Parameters

request GetAllPlansQuery

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<PaginatorResponseDto<PlanDto>>

Response from the request