Table of Contents

Class GetNavigationMenuItemsByNavigationMenuId.Handler

Namespace
Raytha.Application.NavigationMenuItems.Queries
Assembly
Raytha.Application.dll
public class GetNavigationMenuItemsByNavigationMenuId.Handler : IRequestHandler<GetNavigationMenuItemsByNavigationMenuId.Query, IQueryResponseDto<IReadOnlyCollection<NavigationMenuItemDto>>>
Inheritance
GetNavigationMenuItemsByNavigationMenuId.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<IReadOnlyCollection<NavigationMenuItemDto>>> Handle(GetNavigationMenuItemsByNavigationMenuId.Query request, CancellationToken cancellationToken)

Parameters

request GetNavigationMenuItemsByNavigationMenuId.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<IReadOnlyCollection<NavigationMenuItemDto>>>

Response from the request