Class GetTenantBranchesQueryHandler
- Namespace
- KadicAuth.Application.TenantBranches.Queries
- Assembly
- KadicAuth.Application.dll
public sealed class GetTenantBranchesQueryHandler : IRequestHandler<GetTenantBranchesQuery, PaginatorResponseDto<TenantBranchDto>>
- Inheritance
-
objectGetTenantBranchesQueryHandler
- Implements
Constructors
GetTenantBranchesQueryHandler(ITenantBranchRepository)
public GetTenantBranchesQueryHandler(ITenantBranchRepository branchRepository)
Parameters
branchRepositoryITenantBranchRepository
Methods
Handle(GetTenantBranchesQuery, CancellationToken)
Handles a request
public Task<PaginatorResponseDto<TenantBranchDto>> Handle(GetTenantBranchesQuery request, CancellationToken cancellationToken)
Parameters
requestGetTenantBranchesQueryThe request
cancellationTokenCancellationTokenCancellation token
Returns
- Task<PaginatorResponseDto<TenantBranchDto>>
Response from the request