Table of Contents

Class GetAllTenantsQueryHandler

Namespace
KadicAuth.Application.Tenants.Queries
Assembly
KadicAuth.Application.dll
public sealed class GetAllTenantsQueryHandler : IRequestHandler<GetAllTenantsQuery, PaginatorResponseDto<TenantDto>>
Inheritance
object
GetAllTenantsQueryHandler
Implements
IRequestHandler<GetAllTenantsQuery, PaginatorResponseDto<TenantDto>>

Constructors

GetAllTenantsQueryHandler(ITenantRepository)

public GetAllTenantsQueryHandler(ITenantRepository tenantRepository)

Parameters

tenantRepository ITenantRepository

Methods

Handle(GetAllTenantsQuery, CancellationToken)

Handles a request

public Task<PaginatorResponseDto<TenantDto>> Handle(GetAllTenantsQuery request, CancellationToken cancellationToken)

Parameters

request GetAllTenantsQuery

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<PaginatorResponseDto<TenantDto>>

Response from the request