Table of Contents

Class GetTenantBranchesQueryHandler

Namespace
KadicAuth.Application.TenantBranches.Queries
Assembly
KadicAuth.Application.dll
public sealed class GetTenantBranchesQueryHandler : IRequestHandler<GetTenantBranchesQuery, PaginatorResponseDto<TenantBranchDto>>
Inheritance
object
GetTenantBranchesQueryHandler
Implements
IRequestHandler<GetTenantBranchesQuery, PaginatorResponseDto<TenantBranchDto>>

Constructors

GetTenantBranchesQueryHandler(ITenantBranchRepository)

public GetTenantBranchesQueryHandler(ITenantBranchRepository branchRepository)

Parameters

branchRepository ITenantBranchRepository

Methods

Handle(GetTenantBranchesQuery, CancellationToken)

Handles a request

public Task<PaginatorResponseDto<TenantBranchDto>> Handle(GetTenantBranchesQuery request, CancellationToken cancellationToken)

Parameters

request GetTenantBranchesQuery

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<PaginatorResponseDto<TenantBranchDto>>

Response from the request